Skip to content

Commit e857ca4

Browse files
jtsomMRHarrison
authored andcommitted
fix(test):add ts MIME type
Fix angular#2125 Close angular#2175
1 parent 9e9ab2a commit e857ca4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/angular-cli/blueprints/ng2/files/karma.conf.js

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ module.exports = function (config) {
1717
preprocessors: {
1818
'./<%= sourceDir %>/test.ts': ['angular-cli']
1919
},
20+
mime: {
21+
'text/x-typescript': ['ts','tsx']
22+
},
2023
remapIstanbulReporter: {
2124
reports: {
2225
html: 'coverage',

0 commit comments

Comments
 (0)