Skip to content

Commit

Permalink
test(config): update Karma config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Jan 11, 2025
1 parent e77c734 commit 89c8eb9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config/karma/config-unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ module.exports = (config) => {
env.TARGET === 'chrome'
? ['ChromeBrowserStack']
: env.TARGET === 'firefox'
? ['FirefoxBrowserStack']
: env.TARGET === 'safari'
? ['SafariBrowserStack']
: ['ChromeBrowserStack', 'FirefoxBrowserStack', 'SafariBrowserStack'],
? ['FirefoxBrowserStack']
: env.TARGET === 'safari'
? ['SafariBrowserStack']
: ['ChromeBrowserStack', 'FirefoxBrowserStack', 'SafariBrowserStack'],

captureTimeout: 300000,

Expand Down Expand Up @@ -122,19 +122,19 @@ module.exports = (config) => {
} else {
config.set({
browsers: [
'ChromeCanaryHeadlessWithNoRequiredUserGesture',
'ChromeHeadlessWithNoRequiredUserGesture',
'ChromeCanaryHeadlessWithFlags',
'ChromeHeadlessWithFlags',
'FirefoxDeveloperWithPrefs',
'FirefoxWithPrefs',
'Safari'
],

customLaunchers: {
ChromeCanaryHeadlessWithNoRequiredUserGesture: {
ChromeCanaryHeadlessWithFlags: {
base: 'ChromeCanaryHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
},
ChromeHeadlessWithNoRequiredUserGesture: {
ChromeHeadlessWithFlags: {
base: 'ChromeHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
},
Expand Down

0 comments on commit 89c8eb9

Please sign in to comment.