Skip to content

Commit 7966c58

Browse files
committed
remove unused entries from karma config
1 parent 0c364b5 commit 7966c58

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

packages/@angular/cli/blueprints/ng/files/karma.conf.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,14 @@ module.exports = function (config) {
1515
client:{
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
18-
files: [
19-
{ pattern: './<%= sourceDir %>/test.ts', watched: false }
20-
],
21-
preprocessors: {
22-
'./<%= sourceDir %>/test.ts': ['@angular/cli']
23-
},
24-
mime: {
25-
'text/x-typescript': ['ts','tsx']
26-
},
2718
coverageIstanbulReporter: {
2819
reports: [ 'html', 'lcovonly' ],
2920
fixWebpackSourcePaths: true
3021
},
3122
angularCli: {
3223
environment: 'dev'
3324
},
34-
reporters: config.angularCli && config.angularCli.codeCoverage
35-
? ['progress', 'coverage-istanbul']
36-
: ['progress', 'kjhtml'],
25+
reporters: ['progress', 'kjhtml'],
3726
port: 9876,
3827
colors: true,
3928
logLevel: config.LOG_INFO,

0 commit comments

Comments
 (0)