Skip to content

Commit

Permalink
Update launcher version
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarocque committed Sep 6, 2024
1 parent 864c935 commit e4586a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
7 changes: 1 addition & 6 deletions config/karma.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const karma = require('karma');
const path = require('path');
const webpackTestConfig = require('./webpack.test');
const { argv } = require('yargs');
const { webkit } = require('playwright')

function determineBrowsers() {
const supportedBrowsers = ['ChromeHeadless', 'WebkitHeadless', 'Firefox'];
Expand All @@ -38,10 +37,6 @@ function determineBrowsers() {
);
return [];
} else {
if (validBrowsers.includes('WebkitHeadless')) {
process.env.WEBKIT_HEADLESS_BIN = webkit.executablePath();
}

return validBrowsers;
}

Expand Down Expand Up @@ -92,7 +87,7 @@ const config = {

// Browsers to launch for testing
// To use a custom set of browsers, define the BROWSERS environment variable as a comma-seperated list.
// Supported browsers are 'ChromeHeadless', 'Safari', and 'Firefox'.
// Supported browsers are 'ChromeHeadless', 'WebkitHeadless', and 'Firefox'.
// See: https://karma-runner.github.io/6.4/config/browsers.html
browsers: determineBrowsers(),

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"karma-sourcemap-loader": "0.4.0",
"karma-spec-reporter": "0.0.36",
"karma-summary-reporter": "3.1.1",
"karma-webkit-launcher": "1.2.0",
"karma-webkit-launcher": "2.6.0",
"karma-webpack": "5.0.0",
"lcov-result-merger": "3.3.0",
"lerna": "4.0.0",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11402,13 +11402,13 @@ karma-typescript@5.5.4:
util "^0.12.1"
vm-browserify "^1.1.2"

karma-webkit-launcher@1.2.0:
version "1.2.0"
resolved "https://registry.npmjs.org/karma-webkit-launcher/-/karma-webkit-launcher-1.2.0.tgz#a120559ce780c2d03c82e416724951e3d0ec7a92"
integrity sha512-C2VVsakp/+UL3Z8yzjqVm+aSXEQczCK36Z1q6hM6gyHvhbuzcrhWpMqVfBgmTs/AKkyIPYLJ7+CEdOZfIQgm6Q==
karma-webkit-launcher@2.6.0:
version "2.6.0"
resolved "https://registry.npmjs.org/karma-webkit-launcher/-/karma-webkit-launcher-2.6.0.tgz#2e3ba096b69139e608d9ce6e89816a17f358b700"
integrity sha512-IDURopxJ1SbuqnvPaE+lP2qiP2Ie7I+ojwJRBpr0tfGwObsaVdjMkUkmZ1BcXUtYRt5ogs9cyCH2Wb9sNv0BbQ==
dependencies:
is-ci "^3.0.1"
uuid "^9.0.0"
uuid "^10.0.0"

karma-webpack@5.0.0:
version "5.0.0"
Expand Down Expand Up @@ -17667,6 +17667,11 @@ utils-merge@1.0.1:
resolved "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=

uuid@^10.0.0:
version "10.0.0"
resolved "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz#5a95aa454e6e002725c79055fd42aaba30ca6294"
integrity sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==

uuid@^3.3.2, uuid@^3.3.3:
version "3.4.0"
resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz"
Expand All @@ -17677,11 +17682,6 @@ uuid@^8.0.0, uuid@^8.3.2:
resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==

uuid@^9.0.0:
version "9.0.1"
resolved "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30"
integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==

v8-compile-cache-lib@^3.0.1:
version "3.0.1"
resolved "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz"
Expand Down

0 comments on commit e4586a4

Please sign in to comment.