Skip to content

Commit 8b7bc7f

Browse files
committed
Revert "test: convert all tests to Vitest browser mode"
This reverts commit 3273126.
1 parent 3273126 commit 8b7bc7f

File tree

10 files changed

+700
-521
lines changed

10 files changed

+700
-521
lines changed

biome.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,25 @@
2525
"noForEach": "off"
2626
},
2727
"style": {
28-
"noVar": "off",
29-
"noUnusedTemplateLiteral": "off"
28+
"noVar": "off"
3029
},
3130
"a11y": {
3231
"noSvgWithoutTitle": "off"
3332
}
3433
}
3534
},
35+
"overrides": [
36+
{
37+
"include": ["**/*.test.ts", "**/*.test.tsx"],
38+
"linter": {
39+
"rules": {
40+
"style": {
41+
"noUnusedTemplateLiteral": "off"
42+
}
43+
}
44+
}
45+
}
46+
],
3647
"vcs": {
3748
"enabled": true,
3849
"clientKind": "git",

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,16 @@
112112
},
113113
"devDependencies": {
114114
"@arethetypeswrong/cli": "^0.15.3",
115-
"@biomejs/biome": "^1.9.4",
115+
"@biomejs/biome": "^1.8.3",
116116
"@size-limit/preset-small-lib": "^11.1.4",
117+
"@testing-library/jest-dom": "^6.4.6",
118+
"@testing-library/react": "^16.0.0",
117119
"@types/react": "^18.3.3",
118-
"@types/react-dom": "^18.3.1",
120+
"@types/react-dom": "^18.3.0",
119121
"@vitejs/plugin-react": "^4.3.1",
120-
"@vitest/browser": "^2.1.4",
121-
"@vitest/coverage-istanbul": "^2.1.4",
122+
"@vitest/browser": "^2.0.1",
123+
"@vitest/coverage-istanbul": "^2.0.1",
124+
"jsdom": "^24.1.0",
122125
"lint-staged": "^15.2.7",
123126
"microbundle": "^0.15.1",
124127
"npm-run-all": "^4.1.5",
@@ -130,8 +133,7 @@
130133
"size-limit": "^11.1.4",
131134
"tsup": "^8.1.0",
132135
"typescript": "^5.5.3",
133-
"vitest": "^2.1.4",
134-
"vitest-browser-react": "^0.0.3"
136+
"vitest": "^2.0.1"
135137
},
136138
"peerDependenciesMeta": {
137139
"react-dom": {

0 commit comments

Comments
 (0)