Skip to content

Commit 6883383

Browse files
chore: upgrade @testing-library/react to v16 (#131)
1 parent 7590429 commit 6883383

File tree

3 files changed

+38
-237
lines changed

3 files changed

+38
-237
lines changed

eslint.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import importPlugin from 'eslint-plugin-import'
55
import prettier from 'eslint-plugin-prettier'
66
import react from 'eslint-plugin-react'
77
import reactHooks from 'eslint-plugin-react-hooks'
8-
import vitest from 'eslint-plugin-vitest'
98

109
export default [
1110
js.configs.recommended,
@@ -49,7 +48,6 @@ export default [
4948
'react-hooks': reactHooks,
5049
import: importPlugin,
5150
prettier,
52-
vitest,
5351
},
5452
rules: {
5553
// ESLint recommended rules are included via js.configs.recommended
@@ -111,12 +109,6 @@ export default [
111109
'react-hooks/rules-of-hooks': 'error',
112110
'react-hooks/exhaustive-deps': 'warn',
113111

114-
// Vitest rules
115-
'vitest/consistent-test-it': [
116-
'error',
117-
{ fn: 'it', withinDescribe: 'it' },
118-
],
119-
120112
// Sort imports
121113
'sort-imports': [
122114
'error',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@
6666
"@eslint/js": "^9.32.0",
6767
"@tanstack/query-core": "^5.83.0",
6868
"@tanstack/react-query": "^5.83.0",
69-
"@testing-library/react": "^14.0.0",
69+
"@testing-library/dom": "^10.4.0",
70+
"@testing-library/react": "^16.3.0",
7071
"@types/jsdom": "^21.1.7",
7172
"@types/node": "^22.13.14",
7273
"@types/react": "^19.1.8",
@@ -82,7 +83,6 @@
8283
"eslint-plugin-prettier": "^5.2.1",
8384
"eslint-plugin-react": "^7.37.5",
8485
"eslint-plugin-react-hooks": "^5.1.0",
85-
"eslint-plugin-vitest": "^0.5.4",
8686
"jotai": "^2.4.2",
8787
"jsdom": "^25.0.1",
8888
"npm-run-all": "^4.1.5",

0 commit comments

Comments
 (0)