-
-
Notifications
You must be signed in to change notification settings - Fork 386
Expand file tree
/
Copy pathkarma.conf.js
More file actions
22 lines (21 loc) · 605 Bytes
/
karma.conf.js
File metadata and controls
22 lines (21 loc) · 605 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* globals module */
module.exports = function (config) {
const shaVariant = config.fileVariant || "sha";
config.set({
frameworks: ["mocha", "chai"],
files: ["dist/" + shaVariant + ".js", "test/hash_data.js", "test/dist/test_umd.js"],
reporters: ["progress"],
port: 9876, // karma web server port
colors: true,
logLevel: config.LOG_INFO,
browsers: ["ChromeHeadless", "FirefoxHeadless"],
autoWatch: false,
singleRun: true,
concurrency: Infinity,
client: {
mocha: {
timeout: 10000, // 10 seconds - upped from 2 seconds
},
},
});
};