forked from APIDevTools/swagger-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
27 lines (24 loc) · 844 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
// 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: host.ci ? host.os.linux : host.os.mac, // SauceLabs in CI
edge: host.ci ? host.os.linux : host.os.windows, // SauceLabs in CI
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/*",
]
}
});