Skip to content

Commit 99c3571

Browse files
committed
fix tests
1 parent 6d526fe commit 99c3571

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/integration/tests/cli/generate.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,10 @@ model Post {
8585
from: 'user',
8686
});
8787
expect(fs.existsSync('./node_modules/.zenstack')).toBeFalsy();
88-
expect(fs.existsSync('./out/policy.js')).toBeTruthy();
89-
expect(fs.existsSync('./out/model-meta.js')).toBeTruthy();
88+
expect(fs.existsSync('./out/policy.ts')).toBeTruthy();
89+
expect(fs.existsSync('./out/model-meta.ts')).toBeTruthy();
90+
expect(fs.existsSync('./out/policy.js')).toBeFalsy();
91+
expect(fs.existsSync('./out/model-meta.js')).toBeFalsy();
9092
expect(fs.existsSync('./out/zod')).toBeTruthy();
9193
});
9294

0 commit comments

Comments
 (0)