blob: bbb5667676bf66cf1de21f448234ad319055b51b [file] [log] [blame]
Kevin Lubick92c91712018-08-09 10:00:02 -04001module.exports = function(config) {
2 config.set({
3
4 // frameworks to use
5 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
6 frameworks: ['jasmine'],
7
8
9 // list of files / patterns to load in the browser
10 files: [
11 { pattern: 'npm-wasm/bin/test/pathkit.wasm', included:false, served:true},
12 { pattern: 'tests/*.json', included:false, served:true},
13 'npm-wasm/bin/test/pathkit.js',
14 'tests/*.spec.js'
15 ],
16
17 // test results reporter to use
18 // possible values: 'dots', 'progress'
19 // available reporters: https://npmjs.org/browse/keyword/karma-reporter
20 reporters: ['progress'],
21
22 // web server port
23 port: 4444,
24
25 // enable / disable colors in the output (reporters and logs)
26 colors: true,
27
28 // level of logging
29 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
30 logLevel: config.LOG_INFO,
31
32 // enable / disable watching file and executing tests whenever any file changes
33 autoWatch: true,
34
35 // start these browsers
36 browsers: ['Chrome'],
37
38 // Continuous Integration mode
39 // if true, Karma captures browsers, runs the tests and exits
40 singleRun: false,
41
42 // Concurrency level
43 // how many browser should be started simultaneous
44 concurrency: Infinity,
45 })
46}