test(audit:manifest): compare resolver paths with forward slashes on Windows

This commit is contained in:
garrytan committed 2026-10-03 22:30:04 +00:00
1 parent 143cb4f6da
commit 28af1364cb
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ describe('prompt-audit manifest', () => {
}
expect(files.some(f => f.endsWith('SKILL.md'))).toBe(false);
const resolvers = (readdirSync(join(ROOT, 'scripts/resolvers'), { recursive: true }) as string[])
.filter(f => f.endsWith('.ts')).map(f => `scripts/resolvers/${f}`);
.filter(f => f.endsWith('.ts')).map(f => `scripts/resolvers/${f.replaceAll('\\', '/')}`);
expect(resolvers.filter(f => !files.includes(f))).toEqual([]);
});