Skip to content

Commit dd12fc4

Browse files
committed
test(taro-css-to-react-native): jest to vitest
1 parent b3127a8 commit dd12fc4

File tree

3 files changed

+192
-201
lines changed

3 files changed

+192
-201
lines changed

packages/css-to-react-native/package.json

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"prebuild": "pnpm run clean",
1717
"clean": "rimraf ./dist",
1818
"build": "babel src --ignore *.spec.js --out-dir ./dist",
19-
"test": "jest"
19+
"test": "vitest run"
2020
},
2121
"repository": {
2222
"type": "git",
@@ -28,28 +28,6 @@
2828
"styles",
2929
"CSS"
3030
],
31-
"jest": {
32-
"transform": {
33-
"^.+\\.jsx?$": "babel-jest"
34-
},
35-
"coverageDirectory": "./.coverage/",
36-
"coverageReporters": [
37-
"lcov",
38-
"text"
39-
],
40-
"coverageThreshold": {
41-
"global": {
42-
"branches": 75,
43-
"functions": 75,
44-
"lines": 75,
45-
"statements": 75
46-
}
47-
},
48-
"testPathIgnorePatterns": [
49-
"<rootDir>/dist",
50-
"<rootDir>/node_modules"
51-
]
52-
},
5331
"engines": {
5432
"node": ">= 18"
5533
},

0 commit comments

Comments
 (0)