Skip to content

Commit eda39ae

Browse files
committed
fix(@schematics/angular): add istanbul-lib-instrument to application/library generator dependencies
Update addTestRunnerDependencies to include istanbul-lib-instrument when generating new applications or libraries with the Karma test runner.
1 parent a7e81d2 commit eda39ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/schematics/angular/utility/dependencies.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export function addTestRunnerDependencies(
9797
'karma-jasmine-html-reporter',
9898
'jasmine-core',
9999
'@types/jasmine',
100+
'istanbul-lib-instrument',
100101
];
101102

102103
return dependencies.map((name) =>

0 commit comments

Comments
 (0)