Skip to content

Commit e4cb4d8

Browse files
riknollabchatra
authored andcommitted
Bump karma (#10331)
* bump karma * bump puppeteer * update karma config
1 parent cec7810 commit e4cb4d8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

karma.conf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = function(config) {
6868

6969
// We don't use the watcher but for some reason this must be set to true for tests to run
7070
autoWatch: true,
71-
browsers: [process.env.TRAVIS ? 'chromium_travis' : 'ChromeHeadless'],
71+
browsers: [process.env.GITHUB_ACTIONS ? 'chromium_githubactions' : 'ChromeHeadless'],
7272

7373
// Continuous Integration mode
7474
// if true, Karma captures browsers, runs the tests and exits
@@ -80,8 +80,8 @@ module.exports = function(config) {
8080

8181
// Launcher for using chromium in Travis
8282
customLaunchers: {
83-
chromium_travis: {
84-
base: "Chrome",
83+
chromium_githubactions: {
84+
base: "ChromeHeadless",
8585
flags: ['--no-sandbox']
8686
}
8787
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@
8080
"diff-match-patch": "^1.0.5",
8181
"dompurify": "2.0.17",
8282
"faye-websocket": "0.11.1",
83-
"karma": "6.3.10",
83+
"karma": "6.4.4",
8484
"karma-chai": "0.1.0",
85-
"karma-chrome-launcher": "3.1.0",
85+
"karma-chrome-launcher": "3.2.0",
8686
"karma-mocha": "2.0.1",
8787
"less": "3.13.1",
8888
"lzma": "2.3.2",
@@ -91,7 +91,7 @@
9191
"pngjs": "3.4.0",
9292
"postcss": "6.0.21",
9393
"promise.prototype.finally": "^3.1.2",
94-
"puppeteer": "13.0.1",
94+
"puppeteer": "23.11.1",
9595
"request": "2.88.0",
9696
"rimraf": "2.5.4",
9797
"rtlcss": "2.2.1",

0 commit comments

Comments
 (0)