Skip to content

Commit 5ed53b5

Browse files
authored
Merge pull request #452 from Code-Hex/switch/vitest
added vitest config
2 parents 1c5b003 + 0452646 commit 5ed53b5

File tree

4 files changed

+678
-62
lines changed

4 files changed

+678
-62
lines changed

jest.config.js

-29
This file was deleted.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"type-check:yup": "tsc --strict --noEmit example/yup/schemas.ts",
2121
"type-check:zod": "tsc --strict --noEmit example/zod/schemas.ts",
2222
"type-check:myzod": "tsc --strict --noEmit example/myzod/schemas.ts",
23-
"test": "jest --no-watchman",
23+
"test": "vitest run",
2424
"build": "run-p build:*",
2525
"build:main": "tsc -p tsconfig.main.json",
2626
"build:module": "tsc -p tsconfig.module.json",
@@ -53,7 +53,7 @@
5353
"@tsconfig/recommended": "1.0.2",
5454
"@types/graphlib": "^2.1.8",
5555
"@types/jest": "29.5.3",
56-
"@types/node": "^20.1.3",
56+
"@types/node": "^18.17.5",
5757
"@typescript-eslint/eslint-plugin": "6.3.0",
5858
"@typescript-eslint/parser": "6.3.0",
5959
"eslint": "8.47.0",
@@ -66,6 +66,7 @@
6666
"ts-dedent": "^2.2.0",
6767
"ts-jest": "29.1.1",
6868
"typescript": "5.1.6",
69+
"vitest": "^0.34.1",
6970
"yup": "1.2.0",
7071
"zod": "3.21.4"
7172
},

0 commit comments

Comments
 (0)