mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
chore(tests): print only warn/error logs during test runs
Set ASK262_LOG_CONSOLE=true and ASK262_LOG_LEVEL=warn for bun test to surface important failures while keeping the output clean.
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@
|
||||
"ask262-stdio": "bun run src/mcp-server-stdio.ts",
|
||||
"ask262-http": "bun run src/mcp-server-http.ts",
|
||||
"ask262-inspector": "bunx @modelcontextprotocol/inspector --transport http --server-url http://localhost:$(bun -e 'console.log(process.env.ASK262_PORT || \"8081\")')/mcp",
|
||||
"test": "bun test",
|
||||
"test": "ASK262_LOG_CONSOLE=true ASK262_LOG_LEVEL=warn bun test",
|
||||
"prepublish": "npm run type-check && npm run lint && npm pack --dry-run",
|
||||
"release": "bash scripts/release.sh --patch"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user