mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-24 04:54:51 -04:00
tests: Use Chrome for 'npm test' in GitHub CI
Follows-up 55186c8. I had this check originally, but then removed it after GitHub merged the upstream improvement. It looks like some CI runners might not yet have it applied, so keep it a little longer for now.
This commit is contained in:
parent
33308af132
commit
1e6f357ed2
@ -10,7 +10,12 @@ module.exports = function (config) {
|
||||
// whereas Windows and macOS users tend to have auto-updating Google Chrome.
|
||||
//
|
||||
// See package.json for commands to run tests in a single browser only.
|
||||
process.platform === 'linux' ? 'ChromiumHeadless' : 'ChromeHeadless'
|
||||
//
|
||||
// The CHROME_BIN check is to temporarily accomodate GitHub Actions
|
||||
// which oddly uses Ubuntu but replaces the standard Chromium distribution
|
||||
// with a custom install of Google Chrome. Being fixed in the next release:
|
||||
// https://github.com/actions/virtual-environments/issues/2388
|
||||
process.platform === 'linux' && !process.env.CHROME_BIN ? 'ChromiumHeadless' : 'ChromeHeadless'
|
||||
],
|
||||
frameworks: ['qunit'],
|
||||
client: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user