forked from open-wc/open-wc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.bs.conf.js
More file actions
29 lines (25 loc) · 803 Bytes
/
karma.bs.conf.js
File metadata and controls
29 lines (25 loc) · 803 Bytes
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
/* eslint-disable import/no-extraneous-dependencies */
const merge = require('webpack-merge');
const { bsSettings } = require('./packages/testing-karma-bs');
const createBaseConfig = require('./karma.conf.js');
module.exports = config => {
config.set(
merge(bsSettings(config), createBaseConfig(config), {
browserStack: {
project: 'open-wc',
},
client: {
mocha: {
timeout: 20000,
},
},
// How long does Karma wait for a browser to reconnect
browserDisconnectTimeout: 60000,
// How long will Karma wait for a message from a browser before disconnecting from it
browserNoActivityTimeout: 60000,
// The number of disconnections tolerated
browserDisconnectTolerance: 3,
}),
);
return config;
};