mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-07-23 00:34:55 +00:00
Set specific Chrome window size to fix failing test in ubuntu (#9604)
This commit is contained in:
@ -42,7 +42,10 @@ module.exports = function (/** @type {import('karma').Config} */ config) {
|
||||
browsers: ['Chrome'],
|
||||
customLaunchers: {
|
||||
'Chrome': {
|
||||
base: 'ChromeHeadless'
|
||||
base: 'ChromeHeadless',
|
||||
flags: [
|
||||
'--window-size=1920,1080', // Set a fixed window size
|
||||
]
|
||||
},
|
||||
'Firefox': {
|
||||
base: 'FirefoxHeadless',
|
||||
|
Reference in New Issue
Block a user