-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate test suite from tap to node:test
- Loading branch information
1 parent
dda1781
commit e913a6b
Showing
3 changed files
with
77 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"example-fail": "echo \"This is the example hook, I exit with 1\" && exit 1", | ||
"example-pass": "echo \"This is the example hook, I exit with 0\" && exit 0", | ||
"install": "node install.js", | ||
"unit": "tap", | ||
"unit": "c8 node --test", | ||
"lint": "standard", | ||
"test": "npm run unit", | ||
"uninstall": "node uninstall.js" | ||
|
@@ -44,6 +44,6 @@ | |
"pre-commit": "git+https://[email protected]/fastify/pre-commit.git", | ||
"proxyquire": "^2.1.3", | ||
"standard": "^17.1.0", | ||
"tap": "^18.7.2" | ||
"c8": "^10.1.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters