File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libs/plugin/src/generators/init Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ describe('init generator', () => {
1111 } ) ;
1212
1313 it ( 'should add three dependencies' , async ( ) => {
14- await init ( appTree ) ;
14+ await init ( appTree , { project : '' } ) ;
1515
1616 const packageJson = readJson ( appTree , 'package.json' ) ;
1717
@@ -21,15 +21,15 @@ describe('init generator', () => {
2121 } ) ;
2222
2323 it ( 'should update skipLibCheck in tsconfig.base.json' , async ( ) => {
24- await init ( appTree ) ;
24+ await init ( appTree , { project : '' } ) ;
2525
2626 const tsConfig = readJson ( appTree , 'tsconfig.base.json' ) ;
2727 expect ( tsConfig . compilerOptions . skipLibCheck ) . toEqual ( true ) ;
2828 } ) ;
2929
3030 it ( 'should update skipLibCheck in tsconfig.json' , async ( ) => {
3131 appTree . rename ( 'tsconfig.base.json' , 'tsconfig.json' ) ;
32- await init ( appTree ) ;
32+ await init ( appTree , { project : '' } ) ;
3333
3434 const tsConfig = readJson ( appTree , 'tsconfig.json' ) ;
3535 expect ( tsConfig . compilerOptions . skipLibCheck ) . toEqual ( true ) ;
You can’t perform that action at this time.
0 commit comments