Skip to content

Commit 8f42a8c

Browse files
authored
fix(14): generate a tsconfig file in e2e with ng add (#15)
Fixes #14
1 parent 3b2e171 commit 8f42a8c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"include": ["./**/*.ts"]
4+
}

src/schematics/ng-add/index.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ describe('ng-add', () => {
5959
const tree = await runner.runSchematic('ng-add', {}, appTree);
6060

6161
expect(tree.files).toContain('/playwright.config.ts');
62+
expect(tree.files).toContain('/e2e/tsconfig.json');
6263
expect(tree.files).toContain('/e2e/example.spec.ts');
6364

6465
const packageJSON = JSON.parse(tree.readContent('/package.json'));

0 commit comments

Comments
 (0)