From 3b8308c8d8a0e1620990696ae59b28e11784a425 Mon Sep 17 00:00:00 2001 From: Dmitriy Schekhovtsov Date: Sun, 20 Aug 2017 18:45:44 +0300 Subject: [PATCH] fix(test): fix test coverage when testing linked libs --- packages/@angular/cli/models/webpack-configs/test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@angular/cli/models/webpack-configs/test.ts b/packages/@angular/cli/models/webpack-configs/test.ts index 29053597520e..6405b8b8afad 100644 --- a/packages/@angular/cli/models/webpack-configs/test.ts +++ b/packages/@angular/cli/models/webpack-configs/test.ts @@ -42,6 +42,7 @@ export function getTestConfig(testConfig: WebpackTestOptions) { extraRules.push({ test: /\.(js|ts)$/, loader: 'istanbul-instrumenter-loader', + options: { esModules: true }, enforce: 'post', exclude });