Skip to content

Commit e7d99bc

Browse files
Adam VigneauxKeen Yee Liau
Adam Vigneaux
authored and
Keen Yee Liau
committed
feat(@angular-devkit/build-angular): collect test coverage from JSX/TSX files
1 parent d1488e6 commit e7d99bc

File tree

1 file changed

+1
-1
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function getTestConfig(
4747
}
4848

4949
extraRules.push({
50-
test: /\.(js|ts)$/,
50+
test: /\.(jsx?|tsx?)$/,
5151
loader: 'istanbul-instrumenter-loader',
5252
options: { esModules: true },
5353
enforce: 'post',

0 commit comments

Comments
 (0)