Skip to content

Commit b6bc1bf

Browse files
authored
Merge pull request #925 from dodona-edu/dependabot/npm_and_yarn/multi-c66953df15
Bump vitest and @vitest/browser
2 parents 2621997 + 036697f commit b6bc1bf

File tree

3 files changed

+134
-270
lines changed

3 files changed

+134
-270
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,20 @@
1010
"@types/node": "^24.5.2",
1111
"@types/node-polyglot": "^2.5.0",
1212
"@types/serviceworker": "^0.0.163",
13-
"@vitest/browser": "^3.2.4",
13+
"@vitest/browser": "^4.0.6",
14+
"@vitest/browser-playwright": "^4.0.6",
1415
"eslint": "^9.17.0",
1516
"eslint-config-prettier": "^10.1.8",
1617
"eslint-plugin-lit": "^2.1.1",
17-
"eslint-plugin-wc": "^3.0.2",
1818
"eslint-plugin-prettier": "^5.5.4",
19+
"eslint-plugin-wc": "^3.0.2",
1920
"globals": "^16.0.0",
2021
"playwright": "^1.55.1",
2122
"prettier": "^3.6.2",
2223
"typescript": "^5.2.2",
2324
"typescript-eslint": "^8.21.0",
2425
"vite": "^7.1.5",
25-
"vitest": "^3.2.4"
26+
"vitest": "^4.0.6"
2627
},
2728
"dependencies": {
2829
"@codemirror/autocomplete": "^6.11.1",

vite.config.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
import { defineConfig } from 'vite';
1+
import { defineConfig } from "vite";
2+
import { playwright } from "@vitest/browser-playwright";
23

34
export default defineConfig({
45
esbuild: {
56
supported: {
6-
'import-attributes': true,
7-
'import-assertions': true
8-
}
7+
"import-attributes": true,
8+
"import-assertions": true,
9+
},
910
},
1011
worker: {
11-
format: "es"
12+
format: "es",
1213
},
1314
test: {
1415
browser: {
1516
enabled: true,
16-
provider: 'playwright',
17-
instances: [{browser: 'chromium',},],
17+
provider: playwright({}),
18+
instances: [{ browser: "chromium" }],
1819
headless: true,
1920
},
2021
testTimeout: 100000, // loading pyodide can take a while

0 commit comments

Comments
 (0)