Conditions | 1 |
Paths | 1 |
Total Lines | 31 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | /** |
||
12 | module.exports = function (config) { |
||
13 | config.set({ |
||
14 | // to run in additional browsers: |
||
15 | // 1. install corresponding karma launcher |
||
16 | // http://karma-runner.github.io/0.13/config/browsers.html |
||
17 | // 2. add it to the `browsers` array below. |
||
18 | browsers: [ |
||
19 | // 'Chrome', |
||
20 | 'PhantomJS' |
||
21 | ], |
||
22 | frameworks: ['mocha'], |
||
23 | // frameworks: ['mocha', 'sinon-chai', 'phantomjs-shim'], |
||
24 | // reporters: ['spec', 'coverage'], |
||
25 | files: ['specs/**/*.spec.js'], |
||
26 | preprocessors: { |
||
27 | // './index.js': ['webpack', 'sourcemap'] |
||
28 | './specs/**/*.spec.js': ['webpack', 'sourcemap'] |
||
29 | }, |
||
30 | webpack: webpackConfig, |
||
31 | webpackMiddleware: { |
||
32 | noInfo: true |
||
33 | } |
||
34 | // coverageReporter: { |
||
35 | // dir: './coverage', |
||
36 | // reporters: [ |
||
37 | // {type: 'lcov', subdir: '.'}, |
||
38 | // {type: 'text-summary'} |
||
39 | // ] |
||
40 | // } |
||
41 | }) |
||
42 | } |
||
43 |