1
1
// Karma configuration
2
- // Generated on Sat Oct 05 2013 08:44:16 GMT-0500 (CDT )
2
+ // Generated on Mon Mar 08 2021 12:58:46 GMT-0800 (Pacific Standard Time )
3
3
4
4
module . exports = function ( config ) {
5
5
config . set ( {
6
6
7
- // base path, that will be used to resolve files and exclude
7
+ // base path that will be used to resolve all patterns (eg. files, exclude)
8
8
basePath : '' ,
9
9
10
10
11
11
// frameworks to use
12
+ // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
12
13
frameworks : [ 'qunit' ] ,
13
14
14
15
15
16
// list of files / patterns to load in the browser
16
17
files : [
17
- 'fake_xml_http_request.js' ,
18
+ './ fake_xml_http_request.js' ,
18
19
'test/**/*_test.js'
19
20
] ,
20
21
21
22
22
- // list of files to exclude
23
+ // list of files / patterns to exclude
23
24
exclude : [
24
-
25
25
] ,
26
26
27
27
28
+ // preprocess matching files before serving them to the browser
29
+ // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
30
+ preprocessors : {
31
+ } ,
32
+
33
+
28
34
// test results reporter to use
29
- // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
35
+ // possible values: 'dots', 'progress'
36
+ // available reporters: https://npmjs.org/browse/keyword/karma-reporter
30
37
reporters : [ 'progress' ] ,
31
38
32
39
@@ -47,23 +54,17 @@ module.exports = function(config) {
47
54
autoWatch : true ,
48
55
49
56
50
- // Start these browsers, currently available:
51
- // - Chrome
52
- // - ChromeCanary
53
- // - Firefox
54
- // - Opera
55
- // - Safari (only Mac)
56
- // - PhantomJS
57
- // - IE (only Windows)
57
+ // start these browsers
58
+ // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
58
59
browsers : [ 'Chrome' , 'PhantomJS' ] ,
59
60
60
61
61
- // If browser does not capture in given timeout [ms], kill it
62
- captureTimeout : 60000 ,
63
-
64
-
65
62
// Continuous Integration mode
66
- // if true, it capture browsers, run tests and exit
67
- singleRun : false
68
- } ) ;
69
- } ;
63
+ // if true, Karma captures browsers, runs the tests and exits
64
+ singleRun : false ,
65
+
66
+ // Concurrency level
67
+ // how many browser should be started simultaneous
68
+ concurrency : Infinity
69
+ } )
70
+ }
0 commit comments