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:
+2
-1
@@ -10,7 +10,8 @@
|
||||
"scripts": {
|
||||
"build": "bunx tsc",
|
||||
"prepare": "npm run build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "bun test",
|
||||
"test:coverage": "bun test --coverage"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user