Last active
December 2, 2015 18:30
-
-
Save dtothefp/cfe51fd4392b61c902ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//specific values for desktop and mobile | |
export default { | |
desktop: [ 'chrome', 'ie', 'safari'], | |
mobile: [ 'iphone', 'android' ] | |
}; | |
//run all default desktop browsers | |
export default { | |
desktop: true | |
}; | |
//run specific desktop browsers | |
//this is tricky because "ie" must run through the BrowserStack Tunnel | |
export default { | |
desktop: ['chrome', 'ie'] | |
}; | |
//run all default mobile devices | |
export default { | |
mobile: true | |
}; | |
//specify mobile device | |
export default { | |
mobile: ['iphone'] | |
}; | |
//more complicated config could require spawning multiple child process | |
//and complex merging of data | |
export default { | |
desktop: [{ | |
browser: 'firefox', | |
browser_version: '21.0', | |
os: 'OS X', | |
os_version: 'Mountain Lion' | |
}, 'chrome'], | |
mobile: [{ | |
device: 'iPhone 6', | |
os: 'ios', | |
os_version: '8.3' | |
}, 'android'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment