Skip to content

Commit 5093001

Browse files
committed
Install Vitest
1 parent 150777e commit 5093001

File tree

2 files changed

+537
-2
lines changed

2 files changed

+537
-2
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"description": "Webpack Encore is a simpler way to integrate Webpack into your application",
55
"main": "index.js",
66
"scripts": {
7-
"test": "yarn run test:main && yarn run test:persistent-cache",
7+
"test": "yarn run vitest && yarn run test:main && yarn run test:persistent-cache",
88
"test:main": "mocha --reporter spec test --recursive --ignore test/persistent-cache/*",
99
"test:persistent-cache": "node run-persistent-tests",
10+
"test:vitest": "vitest",
1011
"lint": "eslint lib test index.js .eslintrc.js --report-unused-disable-directives --max-warnings=0",
1112
"travis:lint": "yarn run lint"
1213
},
@@ -93,6 +94,7 @@
9394
"svelte-loader": "^3.1.0",
9495
"ts-loader": "^9.0.0",
9596
"typescript": "^5.0.0",
97+
"vitest": "^3.0.6",
9698
"vue": "^3.2.14",
9799
"vue-loader": "^17.0.0",
98100
"webpack": "^5.72",

0 commit comments

Comments
 (0)