forked from berrberr/streamkeys
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkarma.conf.js
More file actions
42 lines (31 loc) · 692 Bytes
/
karma.conf.js
File metadata and controls
42 lines (31 loc) · 692 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
42
module.exports = function(config) {
config.set({
basePath: "",
frameworks: [
"browserify",
"jasmine-jquery",
"jasmine"
],
files: [
"node_modules/sinon/pkg/sinon.js",
"node_modules/sinon-chrome/chrome.js",
"test/**/*.test.js",
"test/fixtures/*.html"
],
preprocessors: {
"test/**/*.test.js": ["browserify"]
},
reporters: ["spec"],
port: 9876,
colors: true,
// LOG_DISABLE, LOG_ERROR, LOG_WARN, LOG_INFO, LOG_DEBUG
logLevel: config.LOG_INFO,
autoWatch: true,
singleRun: true,
browsers: ["PhantomJS2"],
browserify: {
debug: true,
transform: []
}
});
};