Skip to content

Commit 973f59b

Browse files
committed
chore(deps): update dependency vitest to v4
1 parent c63a69f commit 973f59b

File tree

6 files changed

+212
-367
lines changed

6 files changed

+212
-367
lines changed

examples/react-audit-log-viewer/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,19 @@
2525
"react-dom": "18.3.1"
2626
},
2727
"devDependencies": {
28+
"@testing-library/dom": "10.4.1",
2829
"@testing-library/jest-dom": "6.9.1",
29-
"@testing-library/react": "15.0.7",
30+
"@testing-library/react": "16.3.0",
3031
"@tsconfig/cypress": "1.0.4",
3132
"@tsconfig/vite-react": "7.0.1",
33+
"@types/node": "24.10.1",
3234
"@types/react-dom": "18.3.7",
3335
"@vitejs/plugin-react": "5.1.0",
3436
"cypress": "15.6.0",
3537
"happy-dom": "20.0.10",
3638
"start-server-and-test": "2.1.2",
3739
"typescript": "5.9.3",
3840
"vite": "7.2.2",
39-
"vitest": "3.2.4"
41+
"vitest": "4.0.6"
4042
}
4143
}

examples/react-audit-log-viewer/src/App.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { render, screen } from "@testing-library/react";
1+
import { screen } from "@testing-library/dom";
2+
import { render } from "@testing-library/react";
3+
24
import App from "./App";
35

46
beforeEach(() => {
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"extends": "@tsconfig/vite-react/tsconfig.json",
33
"compilerOptions": {
4-
"types": ["vite/client", "vitest/globals", "@testing-library/jest-dom"]
4+
"typeRoots": ["./types", "./node_modules/@types", "./node_modules"],
5+
"types": ["vite/client", "vitest/globals", "@testing-library/jest-dom", "@types/node"]
56
},
6-
"include": ["src"]
7+
"include": ["src"],
8+
"exclude": ["node_modules"]
79
}

0 commit comments

Comments
 (0)