From f2934022ac720237e96c6e947b2c702e5cd8bfad Mon Sep 17 00:00:00 2001 From: bendtherules Date: Mon, 27 Apr 2026 17:00:44 +0530 Subject: [PATCH] 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8465835..258441b 100644 --- a/package.json +++ b/package.json @@ -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" },