Skip to content

Commit 700bb49

Browse files
committed
chore: upgrade vitest
1 parent 2181081 commit 700bb49

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

bun.lockb

13.6 KB
Binary file not shown.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"build": "unbuild && bun run ./scripts/deno.ts",
7676
"test": "npm run test:typecheck && npm run test:unit",
7777
"test:unit": "NODE_OPTIONS=--experimental-vm-modules vitest run ./src",
78-
"test:typecheck": "vitest typecheck --config ./vitest.type.config.ts --run",
78+
"test:typecheck": "vitest --typecheck --config ./vitest.type.config.ts --run",
7979
"test:coverage": "npm test -- --reporter verbose --coverage",
8080
"test:e2e": "run-s test:e2e:*",
8181
"test:e2e:browser": "cd playground/browser && node --test",
@@ -102,9 +102,9 @@
102102
},
103103
"devDependencies": {
104104
"@cloudflare/workers-types": "^4.20231016.0",
105-
"@types/node": "^20.6.0",
105+
"@types/node": "^20.11.24",
106106
"@types/supertest": "^2.0.12",
107-
"@vitest/coverage-v8": "^0.34.6",
107+
"@vitest/coverage-v8": "^1.3.0",
108108
"bumpp": "^9.2.0",
109109
"bun-types": "latest",
110110
"cookie-es": "^1.0.0",
@@ -117,9 +117,9 @@
117117
"supertest": "^6.3.3",
118118
"playwright": "^1.38.1",
119119
"pkg-types": "^1.0.2",
120-
"typescript": "^5.2.2",
120+
"typescript": "^5.3.3",
121121
"unbuild": "^2.0.0",
122-
"vitest": "^0.34.6",
122+
"vitest": "^1.3.0",
123123
"vitest-environment-miniflare": "^2.14.1"
124124
}
125125
}

vitest.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { defineConfig } from 'vitest/config'
1+
import { configDefaults, defineConfig } from 'vitest/config'
22

33
export default defineConfig({
44
test: {
55
includeSource: ['src/**/*.{js,ts}'],
6+
exclude: [...configDefaults.exclude, '**/playground/**'],
67
},
78
})

0 commit comments

Comments
 (0)