Skip to content

Commit 21100b4

Browse files
authored
Use borp to run tests (#302)
1 parent 0fcae5e commit 21100b4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.borp.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
files:
2+
- 'test/**/*.test.js'

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"lint": "eslint",
1010
"lint:fix": "eslint --fix",
1111
"test": "npm run test:unit && npm run test:typescript",
12-
"test:unit": "tap",
12+
"test:unit": "borp --reporter=@jsumners/line-reporter",
13+
"test:coverage": "c8 borp --reporter=@jsumners/line-reporter",
1314
"test:typescript": "tsc --project ./test/types/tsconfig.json"
1415
},
1516
"precommit": [
@@ -63,7 +64,10 @@
6364
],
6465
"devDependencies": {
6566
"@fastify/pre-commit": "^2.1.0",
67+
"@jsumners/line-reporter": "^1.0.1",
6668
"@types/node": "^22.0.0",
69+
"borp": "^0.19.0",
70+
"c8": "^10.1.3",
6771
"eslint": "^9.17.0",
6872
"neostandard": "^0.12.0",
6973
"tap": "^18.7.1",

0 commit comments

Comments
 (0)