Skip to content

Commit

Permalink
Use Chromium instead of Chrome for Karma tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hupf committed Oct 16, 2024
1 parent cf14ec5 commit 90e3968
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"build:prod": "ng build --configuration production",
"build-and-copy-local": "npm run build:prod && ./scripts/copy-to-portal.sh ../evento-portal/public/apps/webapp-schulverwaltung/",
"test": "ng test",
"test:headless": "ng test --watch=false --browsers=ChromeHeadless",
"test:watch": "ng test --browsers=ChromeHeadless",
"test:brief": "ng test --browsers=ChromeHeadless --reporters brief",
"test:coverage": "ng test --browsers=ChromeHeadless --code-coverage --reporters coverage-istanbul",
"test:headless": "ng test --watch=false --browsers=ChromiumHeadless",
"test:watch": "ng test --browsers=ChromiumHeadless",
"test:brief": "ng test --browsers=ChromiumHeadless --reporters brief",
"test:coverage": "ng test --browsers=ChromiumHeadless --code-coverage --reporters coverage-istanbul",
"lint": "ng lint",
"format": "prettier --write \"./**/*\" --ignore-unknown",
"format:upgrade": "npm install --save-exact prettier@latest && npm run format",
Expand Down
2 changes: 1 addition & 1 deletion src/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ["Chrome"],
browsers: ["Chromium"],
singleRun: false,
restartOnFileChange: true,
});
Expand Down

0 comments on commit 90e3968

Please sign in to comment.