Skip to content

Commit

Permalink
chore: migrate to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 6, 2024
1 parent 379d628 commit f8435c1
Show file tree
Hide file tree
Showing 4 changed files with 725 additions and 217 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm mocha ./test/*.test.*
- run: pnpm vitest run
# - uses: codecov/codecov-action@v3
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"prepack": "unbuild",
"play": "webpack --config ./playground/webpack.config.mjs",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && mocha ./test/*.test.*"
"test": "pnpm lint && vitest run"
},
"dependencies": {
"ansi-escapes": "^7.0.0",
Expand All @@ -40,7 +40,6 @@
},
"devDependencies": {
"@babel/standalone": "^7.26.2",
"@types/mocha": "^10.0.9",
"@types/node": "^22.9.0",
"automd": "^0.3.12",
"chalk": "^5.3.0",
Expand All @@ -49,10 +48,10 @@
"eslint-config-unjs": "^0.4.1",
"jiti": "^2.4.0",
"memory-fs": "^0.5.0",
"mocha": "^10.8.2",
"prettier": "^3.3.3",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"vitest": "^2.1.4",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
Expand Down
Loading

0 comments on commit f8435c1

Please sign in to comment.