build: add test and test:coverage scripts to package.json

- bun test v1.3.12 (700fc117) runs bun test (discovers tests in test/ directory)
- bun test v1.3.12 (700fc117) runs tests with coverage reporting
This commit is contained in:
2026-05-05 14:59:24 -04:00
committed by Jonathan Bernard
parent c957150879
commit a6aff1a5b9
+2 -1
View File
@@ -10,7 +10,8 @@
"scripts": { "scripts": {
"build": "bunx tsc", "build": "bunx tsc",
"prepare": "npm run build", "prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1" "test": "bun test",
"test:coverage": "bun test --coverage"
}, },
"repository": { "repository": {
"type": "git", "type": "git",