Skip to content

Commit

Permalink
deps: upgrade vitest (#6237)
Browse files Browse the repository at this point in the history
* Upgrade vitest

* Change the browser version to fix the download error

* Add a browser version fix

* Fix the browser download path

* Fix the browser download version
  • Loading branch information
nazarhussain authored Dec 25, 2023
1 parent a573b92 commit 21851b2
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 161 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ jobs:
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ github.sha }}
fail-on-cache-miss: true
- name: Install Chrome browser
run: npx @puppeteer/browsers install chrome
run: npx @puppeteer/browsers install chromedriver@latest --path /tmp
- name: Install Firefox browser
run: npx @puppeteer/browsers install firefox
run: npx @puppeteer/browsers install firefox@latest --path /tmp
- name: Browser tests
run: |
export DISPLAY=':99.0'
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@vitest/coverage-v8": "^1.0.1",
"@vitest/browser": "^1.0.1",
"@vitest/coverage-v8": "^1.1.0",
"@vitest/browser": "^1.1.0",
"c8": "^8.0.1",
"chai": "^4.3.8",
"chai-as-promised": "^7.1.1",
Expand Down Expand Up @@ -98,11 +98,11 @@
"typescript": "^5.2.2",
"typescript-docs-verifier": "^2.5.0",
"vite-plugin-node-polyfills": "^0.18.0",
"vite-plugin-top-level-await": "^1.3.1",
"vitest": "^1.0.2",
"vite-plugin-top-level-await": "^1.4.1",
"vitest": "^1.1.0",
"vitest-when": "^0.3.0",
"wait-port": "^1.1.0",
"webdriverio": "^8.24.12",
"webdriverio": "^8.27.0",
"webpack": "^5.88.2"
},
"resolutions": {
Expand Down
Loading

0 comments on commit 21851b2

Please sign in to comment.