Skip to content

Commit 8c08187

Browse files
valorkinhansl
authored andcommitted
fix(@angular/cli): fix test coverage when testing linked libs (#7447)
1 parent 9fbecd0 commit 8c08187

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)