diff --git a/src/hooks/claude-code-hooks/execute-http-hook-security.test.ts b/src/hooks/claude-code-hooks/execute-http-hook-security.test.ts index f42a86f81..16dbb1de1 100644 --- a/src/hooks/claude-code-hooks/execute-http-hook-security.test.ts +++ b/src/hooks/claude-code-hooks/execute-http-hook-security.test.ts @@ -87,7 +87,7 @@ describe("executeHttpHook TLS security", () => { }) it("#when hook uses http://localhost #then does not log insecure warning", async () => { - mock.module("../../shared", () => ({ + mock.module("../../shared/logger", () => ({ log: mockLog, })) mockLog.mockReset()