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', () => {
11
11
} ) ;
12
12
13
13
it ( 'should add three dependencies' , async ( ) => {
14
- await init ( appTree ) ;
14
+ await init ( appTree , { project : '' } ) ;
15
15
16
16
const packageJson = readJson ( appTree , 'package.json' ) ;
17
17
@@ -21,15 +21,15 @@ describe('init generator', () => {
21
21
} ) ;
22
22
23
23
it ( 'should update skipLibCheck in tsconfig.base.json' , async ( ) => {
24
- await init ( appTree ) ;
24
+ await init ( appTree , { project : '' } ) ;
25
25
26
26
const tsConfig = readJson ( appTree , 'tsconfig.base.json' ) ;
27
27
expect ( tsConfig . compilerOptions . skipLibCheck ) . toEqual ( true ) ;
28
28
} ) ;
29
29
30
30
it ( 'should update skipLibCheck in tsconfig.json' , async ( ) => {
31
31
appTree . rename ( 'tsconfig.base.json' , 'tsconfig.json' ) ;
32
- await init ( appTree ) ;
32
+ await init ( appTree , { project : '' } ) ;
33
33
34
34
const tsConfig = readJson ( appTree , 'tsconfig.json' ) ;
35
35
expect ( tsConfig . compilerOptions . skipLibCheck ) . toEqual ( true ) ;
You can’t perform that action at this time.
0 commit comments