Skip to content

Commit 39ab4ac

Browse files
author
Yvonne Yip
committed
test: add browserstack config
1 parent 03f165d commit 39ab4ac

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

test/karma-common.conf.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ exports.mixin_common_opts = function(karma, opts) {
4040
// CLI --auto-watch --no-auto-watch
4141
autoWatch: true,
4242

43+
// Custom launchers via BrowserStack.
44+
customLaunchers: {
45+
bs_iphone5: {
46+
base: 'BrowserStack',
47+
device: 'iPhone 5',
48+
os: 'ios',
49+
os_version: '6.0'
50+
}
51+
},
52+
4353
// Start these browsers, currently available:
4454
// - Chrome
4555
// - ChromeCanary
@@ -65,6 +75,7 @@ exports.mixin_common_opts = function(karma, opts) {
6575

6676
plugins: [
6777
'karma-mocha',
78+
'karma-browserstack-launcher',
6879
'karma-chrome-launcher',
6980
'karma-firefox-launcher',
7081
'karma-ie-launcher',

0 commit comments

Comments
 (0)