Skip to content

Commit

Permalink
test: use Node.js native test module (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Jan 30, 2025
1 parent 358dd01 commit 6e2303a
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 797 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prepare": "simple-git-hooks && npm run build",
"test": "pnpm run /^test:/",
"test:e2e": "playwright test",
"test:unit": "vitest run",
"test:unit": "tsx --test test/unit/index.test.ts",
"bump": "npx bumpp"
},
"simple-git-hooks": {
Expand Down Expand Up @@ -68,8 +68,8 @@
"nano-staged": "^0.8.0",
"playwright": "^1.49.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.7.2",
"vitest": "^2.1.6"
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x"
Expand Down
Loading

0 comments on commit 6e2303a

Please sign in to comment.