forked from inversify/InversifyJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
41 lines (36 loc) · 782 Bytes
/
Copy pathkarma.conf.js
File metadata and controls
41 lines (36 loc) · 782 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
var browsers = [
// 'Firefox',
'Chrome',
'IE',
'PhantomJS'
];
var plugins = [
'karma-mocha-reporter',
'karma-mocha',
'karma-chai',
'karma-sinon',
'karma-firefox-launcher',
'karma-chrome-launcher',
'karma-ie-launcher',
'karma-phantomjs-launcher',
'karma-es6-shim'
];
module.exports = function (config) {
'use strict';
config.set({
singleRun: true,
basePath: '',
frameworks: ['mocha', 'chai', 'sinon', 'es6-shim'],
browsers: browsers,
reporters: ['mocha'],
plugins: plugins,
files: [
{ pattern: 'node_modules/reflect-metadata/Reflect.js', include: true },
{ pattern: 'test/bundle.test.js', included: true }
],
port: 9876,
colors: true,
autoWatch: false,
logLevel: config.LOG_INFO
});
};