Skip to content

Commit

Permalink
Use borp to run tests (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners authored Jan 18, 2025
1 parent 0fcae5e commit 21100b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .borp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
files:
- 'test/**/*.test.js'
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "npm run test:unit && npm run test:typescript",
"test:unit": "tap",
"test:unit": "borp --reporter=@jsumners/line-reporter",
"test:coverage": "c8 borp --reporter=@jsumners/line-reporter",
"test:typescript": "tsc --project ./test/types/tsconfig.json"
},
"precommit": [
Expand Down Expand Up @@ -63,7 +64,10 @@
],
"devDependencies": {
"@fastify/pre-commit": "^2.1.0",
"@jsumners/line-reporter": "^1.0.1",
"@types/node": "^22.0.0",
"borp": "^0.19.0",
"c8": "^10.1.3",
"eslint": "^9.17.0",
"neostandard": "^0.12.0",
"tap": "^18.7.1",
Expand Down

0 comments on commit 21100b4

Please sign in to comment.