forked from dexie/Dexie.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.browsers.matrix.js
35 lines (31 loc) · 1.32 KB
/
karma.browsers.matrix.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
32
33
34
35
/** This module comprises the list of browsers
* to run tests on depending on environment.
*
* Browsers listed here must also be defined in
* karma.browserstack.js
*/
module.exports = {
// On developers machines, Chrome is most likely to be installed.
local: ['Chrome'],
//local: ['bs_safari_latest_supported'],
// When browserstack cannot be used, use local Firefox.
ciLocal: ['Firefox'],
// Continous Integration on every push to master
ci: [
// - Let firefox represent the standard evergreen browser.
// Leaving out Chrome, since local tests have hopefully already run on it.
// Chrome will be tested in the pre_npm_publish anyway.
'bs_firefox_latest_supported',
// Internet Explorer - an old beast. Enforces legacy compatibility for every PR.
'bs_ie11', // This is causing a lot of trouble.
// Safari. Enforces native Safari support for every PR!
'bs_safari_latest_supported'
],
// Test matrix used before every npm publish.
pre_npm_publish: [
'bs_chrome_oldest_supported', // ...because not tested in CI!
'bs_chrome_latest_supported', // ...because not tested in CI!
'bs_firefox_oldest_supported', // ...because not tested in CI!
"bs_safari_oldest_supported", // ...because not tested in CI!
]
}