Skip to content

Commit 837de70

Browse files
Configured browsers for CI and local testing
1 parent 9dd74a6 commit 837de70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

karma.conf.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ module.exports = karmaConfig({
1010
sourceDir: "esm",
1111
fixtures: "test/fixtures/**/*.js",
1212
browsers: {
13-
chrome: true,
14-
firefox: host.os.linux,
15-
safari: host.os.linux, // SauceLabs
16-
edge: host.os.linux, // SauceLabs
13+
chrome: host.ci ? host.os.linux : true,
14+
firefox: host.ci ? host.os.linux : true,
15+
safari: host.ci ? host.os.linux : host.os.mac, // SauceLabs in CI
16+
edge: host.ci ? host.os.linux : host.os.windows, // SauceLabs in CI
1717
ie: host.os.windows,
1818
},
1919
});

0 commit comments

Comments
 (0)