Skip to content

Commit

Permalink
Build: Upgrade karma-qunit integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Mar 3, 2024
1 parent 01c425b commit c86af95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration/karma-qunit.js
Expand Up @@ -15,7 +15,7 @@ QUnit.module('karma-qunit', {
before: () => {
// Need --legacy-peer-deps under npm 7 for "file:" override in package.json.
// Once CI and dev environments are on npm 8, consider using native "overrides".
cp.execSync('npm install --prefer-offline --no-audit --no-dev --legacy-peer-deps', { cwd: DIR, encoding: 'utf8' });
cp.execSync('npm install --prefer-offline --no-audit --omit=dev --legacy-peer-deps', { cwd: DIR, encoding: 'utf8' });
}
});

Expand Down
4 changes: 4 additions & 0 deletions test/integration/karma-qunit/karma.conf.js
Expand Up @@ -2,6 +2,10 @@

module.exports = function (config) {
config.set({
plugins: [
'@wikimedia/karma-firefox-launcher',
'karma-*'
],
browsers: [
'FirefoxHeadless'
],
Expand Down
4 changes: 2 additions & 2 deletions test/integration/karma-qunit/package.json
Expand Up @@ -3,8 +3,8 @@
"dependencies": {
"karma": "^6.3.18",
"karma-chrome-launcher": "^3.1.1",
"karma-firefox-launcher": "^2.1.2",
"karma-qunit": "^4.1.2",
"@wikimedia/karma-firefox-launcher": "2.1.3",
"karma-qunit": "^4.2.0",
"qunit": "file:../../.."
},
"scripts": {
Expand Down

0 comments on commit c86af95

Please sign in to comment.