-
Notifications
You must be signed in to change notification settings - Fork 13
/
karma.conf.js
25 lines (25 loc) · 964 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
module.exports = function(config) {
config.set({
basePath: './',
frameworks: ['jasmine'],
files: [
{ pattern: 'spec/e2e/*.js', type: 'module' },
{ pattern: 'spec/support/*.js', type: 'module' },
{ pattern: 'client/src/modules/**/*.js', type: 'module', included: true, served: true },
{ pattern: 'client/src/config/*.js', type: 'module', included: true, served: true },
{ pattern: 'client/src/model/*.js', type: 'module', included: true, served: true },
{ pattern: 'client/src/view_templates/*.js', type: 'module', included: true, served: true }
],
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
browsers: ['ChromeHeadless'],
autoWatch: false,
concurrency: Infinity,
plugins: [
'karma-jasmine',
'karma-chrome-launcher'
]
})
}