UNPKG

1.67 kBPlain TextView Raw
1# Karma configuration
2# Generated on %DATE%
3
4module.exports = (config) ->
5 config.set do
6
7 # base path that will be used to resolve all patterns (eg. files, exclude)
8 basePath: '%BASE_PATH%'
9
10
11 # frameworks to use
12 # available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13 frameworks: [%FRAMEWORKS%]
14
15
16 # list of files / patterns to load in the browser
17 files: [%FILES%
18 ]
19
20
21 # list of files / patterns to exclude
22 exclude: [%EXCLUDE%
23 ]
24
25
26 # preprocess matching files before serving them to the browser
27 # available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
28 preprocessors: {%PREPROCESSORS%
29 }
30
31 # test results reporter to use
32 # possible values: 'dots', 'progress'
33 # available reporters: https://npmjs.org/browse/keyword/karma-reporter
34 reporters: ['progress']
35
36
37 # web server port
38 port: 9876
39
40
41 # enable / disable colors in the output (reporters and logs)
42 colors: true
43
44
45 # level of logging
46 # possible values:
47 # - config.LOG_DISABLE
48 # - config.LOG_ERROR
49 # - config.LOG_WARN
50 # - config.LOG_INFO
51 # - config.LOG_DEBUG
52 logLevel: config.LOG_INFO
53
54
55 # enable / disable watching file and executing tests whenever any file changes
56 autoWatch: %AUTO_WATCH%
57
58
59 # satart these browsers
60 # available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
61 browsers: [%BROWSERS%]
62
63
64 # Continuous Integration mode
65 # if true, Karma captures browsers, runs the tests and exits
66 singleRun: false
67
68 # Concurrency level
69 # how many browser should be started simultaneous
70 concurrency: Infinity