añade el script bun run test para ejecutar cada test por separado de forma que si alguno falla breakea pero sin que se solapen unos con otros

main
borja 3 weeks ago
parent 2875c8eefb
commit 93db6a9adb

@ -1,17 +1,18 @@
{
"name": "task-whatsapp",
"module": "index.ts",
"type": "module",
"private": true,
"scripts": {
"typecheck:web": "cd apps/web && bunx svelte-kit sync && bunx tsc --noEmit --pretty false",
"typecheck:core": "bunx tsc -p tsconfig.core.json --noEmit --pretty false"
},
"devDependencies": {
"@types/bun": "latest",
"bun-types": "^1.3.3"
},
"peerDependencies": {
"typescript": "^5.8.2"
}
"name": "task-whatsapp",
"module": "index.ts",
"type": "module",
"private": true,
"scripts": {
"typecheck:web": "cd apps/web && bunx svelte-kit sync && bunx tsc --noEmit --pretty false",
"typecheck:core": "bunx tsc -p tsconfig.core.json --noEmit --pretty false",
"test": "for i in $(fd . |rg test.ts); do bun test $i || break ; done"
},
"devDependencies": {
"@types/bun": "latest",
"bun-types": "^1.3.3"
},
"peerDependencies": {
"typescript": "^5.8.2"
}
}

Loading…
Cancel
Save