-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
31 lines (31 loc) · 783 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
module.exports = config =>
config.set({
frameworks: ["browserify", "tap", "source-map-support"],
reporters: ["tap-pretty"],
browsers: ["Firefox"],
files: ["test/**/*.js"],
preprocessors: {
"test/**/*.js": ["browserify"]
},
browserify: {
debug: true,
transform: ["babelify"]
},
tapReporter: {
// prettify: require("faucet"),
separator:
"\n\n\n\n\n\n\n----------------------------------------\n\n\n\n\n\n\n"
},
logLevel: config.LOG_ERROR,
captureConsole: true,
browserNoActivityTimeout: 90000,
browserConsoleLogOptions: {
level: "error",
format: "%b %T: %m",
terminal: true
},
notifyReporter: {
reportEachFailure: true,
reportSuccess: true
}
})