Skip to content

Commit 0486a62

Browse files
committed
chore: update karma config for vue
1 parent c059413 commit 0486a62

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

dev-utils/karma.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const baseConfig = {
7878
browserNoActivityTimeout: 120000,
7979
customLaunchers: getBrowserList(),
8080
browsers: [],
81-
captureTimeout: 120000, // on saucelabs it takes some time to capture browser (review this)
81+
captureTimeout: 120000, // (review this)
8282
reporters: ['spec', 'failed']
8383
}
8484

dev-utils/test-config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ function getBrowserList(pkg = 'default') {
110110
},
111111
{
112112
browserName: 'firefox',
113-
// beware that if we update to 99 or more we will need to cope with https://github.com/karma-runner/karma-sauce-launcher/issues/275
114-
browserVersion: '98',
115-
platformName: 'Windows 10'
113+
browserVersion: 'latest'
116114
}
117115
]
118116
}

packages/rum-vue/karma.conf.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ module.exports = function (config) {
3535
config.set(baseConfig)
3636
config.set({
3737
webpack: getWebpackConfig(BUNDLE_TYPES.BROWSER_DEV, PACKAGE_TYPES.VUE),
38-
customLaunchers: getBrowserList('vue').map(launcher => ({
39-
...launcher,
40-
base: 'SauceLabs'
41-
}))
38+
customLaunchers: getBrowserList('vue')
4239
})
4340
const preparedConfig = prepareConfig(config, 'rum-vue')
4441
config.set(preparedConfig)

0 commit comments

Comments
 (0)