File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff 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' ) ) ;
You can’t perform that action at this time.
0 commit comments