From 86d6f44e34f1e8eac49bdeeb94f19138b72c24dd Mon Sep 17 00:00:00 2001 From: Benny Yen Date: Thu, 11 Sep 2025 22:24:55 +0800 Subject: [PATCH] chore: consolidate duplicate test directories (#565) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move detector.test.ts from tests/modes/ to test/modes/ and fix TypeScript type errors by adding missing required properties (botId, botName, allowedNonWriteUsers). Remove empty tests/ directory structure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- {tests => test}/modes/detector.test.ts | 3 +++ 1 file changed, 3 insertions(+) rename {tests => test}/modes/detector.test.ts (98%) diff --git a/tests/modes/detector.test.ts b/test/modes/detector.test.ts similarity index 98% rename from tests/modes/detector.test.ts rename to test/modes/detector.test.ts index 5f1b812..ed6a3a5 100644 --- a/tests/modes/detector.test.ts +++ b/test/modes/detector.test.ts @@ -20,7 +20,10 @@ describe("detectMode with enhanced routing", () => { branchPrefix: "claude/", useStickyComment: false, useCommitSigning: false, + botId: "123456", + botName: "claude-bot", allowedBots: "", + allowedNonWriteUsers: "", trackProgress: false, }, };