Skip to content

Commit 4858033

Browse files
committed
update
1 parent 6aa2964 commit 4858033

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/cli/test/generate.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ describe('CLI generate command test', () => {
3030
expect(fs.existsSync(path.join(workDir, 'zenstack/schema.ts'))).toBe(true);
3131
});
3232

33-
it('should respect save prisma schema option', () => {
34-
const workDir = createProject(model);
35-
runCli('generate --save-prisma-schema', workDir);
36-
expect(fs.existsSync(path.join(workDir, 'zenstack/schema.prisma'))).toBe(true);
37-
});
38-
39-
it('should respect save prisma schema custom path option', () => {
40-
const workDir = createProject(model);
41-
runCli('generate --save-prisma-schema "../prisma/schema.prisma"', workDir);
42-
expect(fs.existsSync(path.join(workDir, 'prisma/schema.prisma'))).toBe(true);
43-
});
44-
4533
it('should respect package.json config', () => {
4634
const workDir = createProject(model);
4735
fs.mkdirSync(path.join(workDir, 'foo'));

0 commit comments

Comments
 (0)