|
6 | 6 | * found in the LICENSE file at https://angular.io/license |
7 | 7 | */ |
8 | 8 |
|
9 | | -module.exports = function (config) { |
| 9 | +module.exports = function(config) { |
10 | 10 | config.set({ |
11 | 11 | basePath: '', |
12 | 12 | files: [ |
13 | | - 'node_modules/systemjs/dist/system-polyfills.js', |
14 | | - 'node_modules/systemjs/dist/system.src.js', |
| 13 | + 'node_modules/systemjs/dist/system-polyfills.js', 'node_modules/systemjs/dist/system.src.js', |
15 | 14 | 'node_modules/whatwg-fetch/fetch.js', |
16 | | - {pattern: 'node_modules/rxjs/**/**/*.js', included: false, watched: false }, |
17 | | - {pattern: 'node_modules/rxjs/**/**/*.js.map', included: false, watched: false }, |
18 | | - {pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false }, |
19 | | - {pattern: 'node_modules/es6-promise/**/*.js', included: false, watched: false }, |
20 | | - {pattern: 'node_modules/rxjs/**/*.js.map', included: false, watched: false }, |
| 15 | + {pattern: 'node_modules/rxjs/**/**/*.js', included: false, watched: false}, |
| 16 | + {pattern: 'node_modules/rxjs/**/**/*.js.map', included: false, watched: false}, |
| 17 | + {pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false}, |
| 18 | + {pattern: 'node_modules/es6-promise/**/*.js', included: false, watched: false}, |
| 19 | + {pattern: 'node_modules/rxjs/**/*.js.map', included: false, watched: false}, |
21 | 20 | {pattern: 'test/assets/**/*.*', watched: true, served: true, included: false}, |
22 | 21 | {pattern: 'build/**/*.js.map', watched: true, served: true, included: false}, |
23 | 22 | {pattern: 'build/**/*.js', watched: true, served: true, included: false} |
24 | 23 | ], |
25 | 24 |
|
26 | 25 | plugins: [ |
27 | | - require('karma-chrome-launcher'), |
28 | | - require('karma-firefox-launcher'), |
| 26 | + require('karma-chrome-launcher'), require('karma-firefox-launcher'), |
29 | 27 | require('karma-sourcemap-loader') |
30 | 28 | ], |
31 | 29 |
|
32 | | - preprocessors: { |
33 | | - '**/*.js': ['sourcemap'] |
34 | | - }, |
| 30 | + preprocessors: {'**/*.js': ['sourcemap']}, |
35 | 31 |
|
36 | | - exclude: [ |
37 | | - 'test/microtasks.spec.ts' |
38 | | - ], |
| 32 | + exclude: ['test/microtasks.spec.ts'], |
39 | 33 |
|
40 | 34 | reporters: ['progress'], |
41 | 35 |
|
42 | | - //port: 9876, |
| 36 | + // port: 9876, |
43 | 37 | colors: true, |
44 | 38 |
|
45 | 39 | logLevel: config.LOG_INFO, |
46 | 40 |
|
47 | | - browsers: ['Firefox'], |
| 41 | + browsers: ['Chrome'], |
48 | 42 |
|
49 | 43 | captureTimeout: 60000, |
50 | 44 |
|
|
0 commit comments