Skip to content

Commit 0111f18

Browse files
valorkinhansl
authored andcommitted
fix(@angular/cli): fix test coverage when testing linked libs (angular#7447)
1 parent e746369 commit 0111f18

File tree

1 file changed

+1
-0
lines changed
  • packages/@angular/cli/models/webpack-configs

1 file changed

+1
-0
lines changed

packages/@angular/cli/models/webpack-configs/test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export function getTestConfig(testConfig: WebpackTestOptions) {
4242

4343
extraRules.push({
4444
test: /\.(js|ts)$/, loader: 'istanbul-instrumenter-loader',
45+
options: { esModules: true },
4546
enforce: 'post',
4647
exclude
4748
});

0 commit comments

Comments
 (0)