Skip to content

Commit

Permalink
test: disable windows/firefox testing, add chrome+experimental web
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 4, 2013
1 parent cde2d60 commit 25c0f99
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions test/karma-common.conf.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
exports.mixin_common_opts = function(karma, opts) {
var browsers = ['Chrome', 'Firefox'];
var browsers;
var os = require('os').type();
if (os === 'Darwin') {
browsers.push('ChromeCanary');
browsers.push('Safari');
// browsers.push('iOS');
browsers = ['Chrome', 'ChromeCanary', 'Firefox', 'Safari'];
} else if (os === 'Windows_NT') {
browsers.push('IE');
}
browsers = ['Chrome', 'IE'];
} else {
browsers = ['Chrome', 'Firefox'];
}
var all_opts = {
// list of files to exclude
exclude: [],
Expand Down Expand Up @@ -42,6 +42,11 @@ exports.mixin_common_opts = function(karma, opts) {

// Custom launchers via BrowserStack.
customLaunchers: {
ChromeCanaryExperimental: {
base: 'ChromeCanary',
name: 'ChromeCanaryExperimental',
flags: ['--enable-experimental-web-platform-features']
},
bs_iphone5: {
base: 'BrowserStack',
device: 'iPhone 5',
Expand Down

0 comments on commit 25c0f99

Please sign in to comment.