Skip to content

Commit 36d2f58

Browse files
committed
chore: adjust tests
1 parent 08b3eaa commit 36d2f58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/plugin/src/generators/init/generator.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)