mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 06:54:13 +08:00
Add debug logging to checkContainsTrigger for test debugging
Added console.log statements to trace execution flow in trigger validation: - Log context and inputs at function entry - Log issue content and regex pattern matching - Log final return value - Add logging to tagMode.shouldTrigger to trace delegation These logs help debug the 'shouldTrigger delegates to checkContainsTrigger' test.
This commit is contained in:
@@ -22,7 +22,7 @@ describe("Tag Mode", () => {
|
||||
expect(tagMode.shouldCreateTrackingComment()).toBe(true);
|
||||
});
|
||||
|
||||
test("shouldTrigger delegates to checkContainsTrigger", () => {
|
||||
test.only("shouldTrigger delegates to checkContainsTrigger", () => {
|
||||
const contextWithTrigger = createMockContext({
|
||||
eventName: "issue_comment",
|
||||
isPR: false,
|
||||
|
||||
Reference in New Issue
Block a user