Skip to content

Commit

Permalink
test: add browserstack config
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Sep 20, 2013
1 parent 03f165d commit 39ab4ac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/karma-common.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ exports.mixin_common_opts = function(karma, opts) {
// CLI --auto-watch --no-auto-watch
autoWatch: true,

// Custom launchers via BrowserStack.
customLaunchers: {
bs_iphone5: {
base: 'BrowserStack',
device: 'iPhone 5',
os: 'ios',
os_version: '6.0'
}
},

// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
Expand All @@ -65,6 +75,7 @@ exports.mixin_common_opts = function(karma, opts) {

plugins: [
'karma-mocha',
'karma-browserstack-launcher',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-ie-launcher',
Expand Down

0 comments on commit 39ab4ac

Please sign in to comment.