-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathkarma.conf.js
48 lines (47 loc) · 1.24 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
module.exports = function(config) {
config.set({
// global config of your BrowserStack account
browserStack: {
username: 'mattmcfarland2',
accessKey: '8XtpNwsCV785G5gStzgP',
build: process.env.TRAVIS_BUILD_NUMBER || process.env.BUILD,
},
logLevel: global.LOG_INFO || 'LOG_INFO',
singleRun: true,
basePath: './',
files: ['dist/index.js', 'test/*.js'],
frameworks: ['jasmine'],
// define browsers
customLaunchers: {
bs_chrome_win10: {
base: 'BrowserStack',
browser: 'chrome',
browser_version: 'latest',
os: 'Windows',
os_version: '10'
},
bs_edge_win10: {
base: 'BrowserStack',
browser: 'edge',
browser_version: 'latest',
os: 'Windows',
os_version: '10'
},
bs_firefox_win10: {
base: 'BrowserStack',
browser: 'firefox',
browser_version: 'latest',
os: 'Windows',
os_version: '10'
},
bs_safari_mac: {
base: 'BrowserStack',
browser: 'safari',
browser_version: 'latest',
os: 'OS X',
os_version: 'Sierra'
},
},
browsers: ['bs_chrome_win10', 'bs_edge_win10', 'bs_firefox_win10', 'bs_safari_mac']
})
}