mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-06 00:44:07 +01:00
test(audit:manifest): compare resolver paths with forward slashes on Windows
This commit is contained in:
1 parent
143cb4f6da
commit
28af1364cb
1 file changed
+1
-1
@@ -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([]);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user