|
1 | | -// tslint:disable |
2 | | - |
3 | 1 | // Karma configuration file, see link for more information |
4 | 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html |
5 | 3 |
|
6 | 4 | const build = process.env.NODE_ENV === 'build'; |
7 | 5 |
|
8 | | -module.exports = function(config) { |
| 6 | +module.exports = function (config) { |
9 | 7 | config.set({ |
10 | | - basePath: "", |
11 | | - frameworks: ["jasmine", "@angular-devkit/build-angular"], |
| 8 | + basePath: '', |
| 9 | + frameworks: ['jasmine'], |
12 | 10 | plugins: [ |
13 | | - require("karma-jasmine"), |
14 | | - require("karma-chrome-launcher"), |
15 | | - require("karma-jasmine-html-reporter"), |
16 | | - require("karma-coverage-istanbul-reporter"), |
17 | | - require("@angular-devkit/build-angular/plugins/karma"), |
| 11 | + require('karma-jasmine'), |
| 12 | + require('karma-chrome-launcher'), |
| 13 | + require('karma-jasmine-html-reporter'), |
| 14 | + require('karma-coverage-istanbul-reporter'), |
18 | 15 | ], |
19 | 16 | client: { |
20 | 17 | clearContext: false, // leave Jasmine Spec Runner output visible in browser |
21 | 18 | }, |
22 | 19 | coverageIstanbulReporter: { |
23 | | - dir: require("path").join(__dirname, "../../coverage/spectator"), |
24 | | - reports: ["html", "lcovonly"], |
| 20 | + dir: require('path').join(__dirname, '../../coverage/spectator'), |
| 21 | + reports: ['html', 'lcovonly'], |
25 | 22 | fixWebpackSourcePaths: true, |
26 | 23 | }, |
27 | | - reporters: ["progress", "kjhtml"], |
| 24 | + reporters: ['progress', 'kjhtml'], |
28 | 25 | port: 9876, |
29 | 26 | colors: true, |
30 | 27 | logLevel: config.LOG_INFO, |
|
0 commit comments