1 | module.exports =
|
2 |
|
3 | # base path that will be used to resolve all patterns (eg. files, exclude)
|
4 | basePath: ''
|
5 |
|
6 |
|
7 | # frameworks to use
|
8 | # available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
9 | frameworks: ['mocha']
|
10 |
|
11 |
|
12 | # list of files / patterns to load in the browser
|
13 | files: [
|
14 | 'build/tests.js'
|
15 | ]
|
16 |
|
17 |
|
18 | # list of files to exclude
|
19 | exclude: [
|
20 | ]
|
21 |
|
22 |
|
23 | # preprocess matching files before serving them to the browser
|
24 | # available preprocessors:
|
25 | # https://npmjs.org/browse/keyword/karma-preprocessor
|
26 | preprocessors: {
|
27 | }
|
28 |
|
29 |
|
30 | # test results reporter to use
|
31 | # possible values: 'dots', 'progress'
|
32 | # available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
33 | reporters: ['progress']
|
34 |
|
35 |
|
36 | # web server port
|
37 | port: 9876
|
38 |
|
39 |
|
40 | # enable / disable colors in the output (reporters and logs)
|
41 | colors: true
|
42 |
|
43 | # enable / disable watching file
|
44 | # and executing tests whenever any file changes
|
45 | autoWatch: false
|
46 |
|
47 |
|
48 | # start these browsers
|
49 | # available browser launchers:
|
50 | # https://npmjs.org/browse/keyword/karma-launcher
|
51 | browsers: ['Chrome', 'Firefox']
|
52 |
|
53 |
|
54 | # Continuous Integration mode
|
55 | # if true, Karma captures browsers, runs the tests and exits
|
56 | singleRun: false
|