MCPcopy
hub / github.com/simstudioai/sim / getAllSeoFiles

Function getAllSeoFiles

apps/sim/app/seo.test.ts:58–67  ·  view source on GitHub ↗
(exts: string[])

Source from the content-addressed store, hash-verified

56}
57
58function 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
69describe('SEO canonical URLs', () => {
70 it('SITE_URL equals https://www.sim.ai', () => {

Callers 1

seo.test.tsFile · 0.85

Calls 2

collectFilesFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected