-
Notifications
You must be signed in to change notification settings - Fork 30
/
karma.conf.js
41 lines (39 loc) · 1.04 KB
/
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
/* global module */
module.exports = function (config) {
"use strict";
config.set({
basePath: "",
singleRun: false,
frameworks: ["jasmine", "requirejs"],
hostname: "127.0.0.1",
browsers: ["Chrome", "jsdom"],
reporters: ["progress", "coverage"],
preprocessors: {
"src/**/*.js": ["coverage"]
},
coverageReporter: {
type: "lcovonly",
dir: "coverage",
subdir: "."
},
files: [
{
pattern: "thirdparty/*.js",
included: false
}, {
pattern: "node_modules/requirejs-text/text.js",
included: false
}, {
pattern: "src/**/*.js",
included: false
}, {
pattern: "test/*Spec.js",
included: false
}, {
pattern: "test/example/**/*",
included: false
},
"test/test-main.js"
]
});
};