Skip to content

Commit 08be746

Browse files
committedDec 23, 2023
Disable Vitest isolation in vite.config.ts
1 parent 3716a3f commit 08be746

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎library/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"scripts": {
4545
"playground": "tsm ./playground.ts",
46-
"test": "vitest --no-isolate",
46+
"test": "vitest",
4747
"coverage": "vitest run --coverage",
4848
"lint": "eslint \"src/**/*.ts*\" && tsc --noEmit",
4949
"format": "prettier --write ./src",

‎library/vite.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export default defineConfig(() => {
44
return {
55
test: {
66
environment: 'jsdom',
7+
isolate: false,
78
},
89
build: {
910
target: 'ESNext',

0 commit comments

Comments
 (0)
Please sign in to comment.