Skip to content

Commit 77413b4

Browse files
committed
test: move to vitest
1 parent 548f137 commit 77413b4

12 files changed

+987
-37
lines changed

.eslintrc.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"extends": "@antfu/eslint-config",
3-
"env": {
4-
"jest": true
5-
},
63
"rules": {
74
"@typescript-eslint/no-unused-vars": "off"
85
}

jest.config.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
"example:dev": "npm -C examples/vite-vue3 run dev",
5757
"prepublishOnly": "npm run build",
5858
"release": "npx bumpp --commit --tag --push",
59-
"test": "jest",
60-
"test:update": "jest --u"
59+
"test": "vitest",
60+
"test:update": "vitest --u"
6161
},
6262
"peerDependencies": {
6363
"@babel/parser": "^7.15.8",
@@ -90,7 +90,6 @@
9090
"@babel/traverse": "^7.16.3",
9191
"@babel/types": "^7.16.0",
9292
"@types/debug": "^4.1.7",
93-
"@types/jest": "^27.0.3",
9493
"@types/minimatch": "^3.0.5",
9594
"@types/node": "^16.11.9",
9695
"@types/resolve": "^1.20.1",
@@ -100,12 +99,11 @@
10099
"element-plus": "^1.1.0-beta.24",
101100
"eslint": "^8.3.0",
102101
"esno": "^0.12.1",
103-
"jest": "^27.3.1",
104102
"rollup": "^2.60.0",
105-
"ts-jest": "^27.0.7",
106103
"tsup": "^5.7.4",
107104
"typescript": "^4.5.2",
108105
"vite": "^2.6.14",
106+
"vitest": "^0.0.50",
109107
"vue": "3"
110108
},
111109
"engines": {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy