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", "name": "task-whatsapp",
"module": "index.ts", "module": "index.ts",
"type": "module", "type": "module",
"private": true, "private": true,
"scripts": { "scripts": {
"typecheck:web": "cd apps/web && bunx svelte-kit sync && bunx tsc --noEmit --pretty false", "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" "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", "devDependencies": {
"bun-types": "^1.3.3" "@types/bun": "latest",
}, "bun-types": "^1.3.3"
"peerDependencies": { },
"typescript": "^5.8.2" "peerDependencies": {
} "typescript": "^5.8.2"
}
} }

Loading…
Cancel
Save