(exts: string[])
| 56 | } |
| 57 | |
| 58 | function getAllSeoFiles(exts: string[]): string[] { |
| 59 | const files: string[] = [] |
| 60 | for (const dir of SEO_SCAN_DIRS) { |
| 61 | files.push(...collectFiles(dir, exts)) |
| 62 | } |
| 63 | for (const file of SEO_SCAN_INDIVIDUAL_FILES) { |
| 64 | if (fs.existsSync(file)) files.push(file) |
| 65 | } |
| 66 | return files |
| 67 | } |
| 68 | |
| 69 | describe('SEO canonical URLs', () => { |
| 70 | it('SITE_URL equals https://www.sim.ai', () => { |
no test coverage detected