-
-
Notifications
You must be signed in to change notification settings - Fork 155
/
karma.conf.js
31 lines (28 loc) · 898 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
// Karma config
// https://karma-runner.github.io/0.12/config/configuration-file.html
// https://jstools.dev/karma-config/
"use strict";
const { karmaConfig } = require("@jsdevtools/karma-config");
const { host } = require("@jsdevtools/host-environment");
module.exports = karmaConfig({
sourceDir: "lib",
fixtures: "test/fixtures/**/*.js",
browsers: {
chrome: host.ci ? host.os.linux : true,
firefox: host.ci ? host.os.linux : true,
safari: false,
edge: false,
ie: false,
// Find a way to bring back these without using Saucelabs
// safari: host.ci ? host.os.linux : host.os.mac,
// edge: host.os.windows,
// ie: host.ci ? host.os.windows : true,
},
config: {
exclude: [
// Exclude these tests because some of the APIs are HUGE and cause timeouts.
// We still test them in Node though.
"test/specs/real-world/*",
]
}
});