Skip to content

Commit

Permalink
Switch to chrome launcher, fix web tests
Browse files Browse the repository at this point in the history
  • Loading branch information
perry-mitchell committed Dec 9, 2023
1 parent c3ebaa0 commit 3191298
Show file tree
Hide file tree
Showing 4 changed files with 955 additions and 330 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Formatting
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x
- run: npm ci
- run: npm run test:format
web-specs:
Expand All @@ -37,7 +37,7 @@ jobs:
node-version: 18.x
env:
MOZ_HEADLESS: 1
- run: sudo apt install google-chrome-stable firefox
- run: sudo apt install google-chrome-stable
- run: google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
- run: npm ci
- run: npm run build:web
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = config => {
config.set({
autoWatch: false,
basePath: __dirname,
browsers: ["FirefoxHeadless"],
browsers: ["ChromeHeadless"],
captureTimeout: 15000,
client: {
mocha: {
Expand Down
Loading

0 comments on commit 3191298

Please sign in to comment.