Skip to content

Commit

Permalink
Repo maintance: Add missing config, update chromedriver (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
t2t2 authored Oct 16, 2024
1 parent aecb2ea commit e902299
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ tests_output/

# contains secrets
.env
.npmrc
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git-tag-version = false
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions packages/web/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ module.exports = async function (config) {
// start these browsers
browsers: [],

customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,
Expand Down
4 changes: 2 additions & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"compile:browser": "rollup -c",
"compile:tsc": "tsc --build tsconfig.cjs.json tsconfig.esm.json",
"test:unit:watch": "karma start",
"test:unit:ci": "nyc karma start --single-run --no-auto-watch --browsers ChromeHeadless",
"test:unit:ci": "nyc karma start --single-run --no-auto-watch --browsers ChromeHeadlessCI",
"test:unit:ci-node": "env TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=tsconfig.cjs.json nyc mocha",
"test:integration:local": "npm-run-all -s compile test:integration:local:headlessChrome:_execute",
"test:integration:local:firefox": "npm-run-all -s compile test:integration:local:firefox:_execute",
Expand Down Expand Up @@ -80,7 +80,7 @@
"body-parser": "^1.20.2",
"chai": "^4.3.7",
"chrome-launcher": "^1.0.0",
"chromedriver": "^128.0.3",
"chromedriver": "^129.0.4",
"codecov": "^3.8.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
Expand Down

0 comments on commit e902299

Please sign in to comment.