forked from parallax/jsPDF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
29 lines (23 loc) · 822 Bytes
/
karma.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Karma configuration
'use strict'
const karmaConfig = require('./karma.common.conf.js')
const browsers = {
IE: {}
}
module.exports = (config) => {
config.set({
...karmaConfig,
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['mocha', 'coverage'],
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests wheneve r any file changes
autoWatch: true,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: Object.keys(browsers),
})
}