Skip to content

Commit

Permalink
test: move from ava to vitest (#88)
Browse files Browse the repository at this point in the history
Based on a suggestion from @leerob [^1], I re-implemented the change I
made in #83.

I also attempted to improve the descriptions of each of the test cases.

[^1]: #83 (comment)
  • Loading branch information
bryan-hoang authored Nov 26, 2024
1 parent 2dd0f48 commit 81353b6
Show file tree
Hide file tree
Showing 4 changed files with 656 additions and 1,194 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Capitalize your titles properly",
"repository": "vercel/title",
"scripts": {
"test": "ava && attw --pack .",
"test": "vitest run && attw --pack .",
"build": "tsup",
"dev": "tsup --watch",
"prepublishOnly": "pnpm build"
Expand Down Expand Up @@ -58,9 +58,9 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@types/node": "^22.9.0",
"ava": "6.2.0",
"tsup": "^8.3.5",
"typescript": "^5.6.3"
"typescript": "^5.6.3",
"vitest": "2.1.5"
},
"sideEffects": false,
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit 81353b6

Please sign in to comment.