OLD | NEW |
| (Empty) |
1 module.exports = function(config) { | |
2 config.set({ | |
3 //logLevel: config.LOG_DEBUG, | |
4 basePath: '.', | |
5 frameworks: ['dart-unittest'], | |
6 | |
7 // list of files / patterns to load in the browser | |
8 // all tests must be 'included', but all other libraries must be 'served' an
d | |
9 // optionally 'watched' only. | |
10 files: [ | |
11 'perf/dom/*.dart', | |
12 'perf/*_perf.dart', | |
13 'test/config/filter_tests.dart', | |
14 {pattern: '**/*.dart', watched: true, included: false, served: true}, | |
15 'packages/browser/dart.js', | |
16 'packages/browser/interop.js' | |
17 ], | |
18 | |
19 autoWatch: false, | |
20 | |
21 // If browser does not capture in given timeout [ms], kill it | |
22 captureTimeout: 5000, | |
23 | |
24 plugins: [ | |
25 'karma-dart', | |
26 'karma-chrome-launcher', | |
27 'karma-script-launcher', | |
28 'karma-junit-reporter', | |
29 '../../../karma-parser-generator', | |
30 '../../../karma-parser-getter-setter' | |
31 ], | |
32 | |
33 preprocessors: { | |
34 'test/core/parser/generated_functions.dart': ['parser-generator'], | |
35 'test/core/parser/generated_getter_setter.dart': ['parser-getter-setter'] | |
36 }, | |
37 | |
38 junitReporter: { | |
39 outputFile: 'test_out/unit.xml', | |
40 suite: 'unit' | |
41 } | |
42 }); | |
43 }; | |
OLD | NEW |