mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
test: use quiet dot reporters and show output only for failing tests
Switch vitest packages (ai, agent, coding-agent) to the dot reporter with silent: passed-only so passing tests stay quiet while failing tests still print their console output and full diffs. Add the github-actions reporter on CI for inline annotations. Switch the tui node:test runner to the dot reporter as well.
This commit is contained in:
parent
75ac0cb0e6
commit
478301342b
4 changed files with 7 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"clean": "shx rm -rf dist",
|
||||
"build": "tsgo -p tsconfig.build.json",
|
||||
"test": "node --test test/*.test.ts",
|
||||
"test": "node --test --test-reporter=dot --test-reporter-destination=stdout test/*.test.ts",
|
||||
"prepublishOnly": "npm run clean && npm run build"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue