Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: migrate to tap #9

Merged
merged 3 commits into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .taprc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
check-coverage: false
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
"description": "Automatically install pre-commit hooks for your npm modules.",
"main": "index.js",
"scripts": {
"coverage": "istanbul cover ./node_modules/.bin/_mocha -- test.js",
"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",
"test": "mocha test.js",
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js",
"unit": "tap test.js",
"test": "npm run test",
"uninstall": "node uninstall.js"
},
"repository": {
Expand All @@ -35,9 +34,7 @@
"which": "^2.0.2"
},
"devDependencies": {
"assume": "^2.3.0",
"istanbul": "0.4.x",
"mocha": "^8.4.0",
"pre-commit": "git://github.com/observing/pre-commit.git"
"pre-commit": "git://github.com/observing/pre-commit.git",
"tap": "^15.0.9"
}
}
Loading