forked from inversify/InversifyJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
42 lines (37 loc) · 864 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
30
31
32
33
34
35
36
37
38
39
40
41
42
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: "node_modules/bluebird/js/browser/bluebird.js", include: true },
{ pattern: "temp/bundle.test.js", included: true }
],
port: 9876,
colors: true,
autoWatch: false,
logLevel: config.LOG_INFO
});
};