Skip to content

Commit 81353b6

Browse files
authored
test: move from ava to vitest (#88)
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)
1 parent 2dd0f48 commit 81353b6

File tree

4 files changed

+656
-1194
lines changed

4 files changed

+656
-1194
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Capitalize your titles properly",
55
"repository": "vercel/title",
66
"scripts": {
7-
"test": "ava && attw --pack .",
7+
"test": "vitest run && attw --pack .",
88
"build": "tsup",
99
"dev": "tsup --watch",
1010
"prepublishOnly": "pnpm build"
@@ -58,9 +58,9 @@
5858
"devDependencies": {
5959
"@arethetypeswrong/cli": "^0.17.0",
6060
"@types/node": "^22.9.0",
61-
"ava": "6.2.0",
6261
"tsup": "^8.3.5",
63-
"typescript": "^5.6.3"
62+
"typescript": "^5.6.3",
63+
"vitest": "2.1.5"
6464
},
6565
"sideEffects": false,
6666
"packageManager": "[email protected]"

0 commit comments

Comments
 (0)