diff --git a/src/handlers/next/saleor-webhooks/process-saleor-webhook.test.ts b/src/handlers/next/saleor-webhooks/process-saleor-webhook.test.ts index ead2d3d..c6827d1 100644 --- a/src/handlers/next/saleor-webhooks/process-saleor-webhook.test.ts +++ b/src/handlers/next/saleor-webhooks/process-saleor-webhook.test.ts @@ -137,7 +137,7 @@ describe("processAsyncSaleorWebhook", () => { it("Throw error on wrong signature", async () => { mockRequest.headers["saleor-signature"] = "wrong_signature"; - vi.mock("./../../fetch-remote-jwks", () => ({ + vi.mock("../../../fetch-remote-jwks", () => ({ fetchRemoteJwks: vi.fn(async () => "wrong_signature"), }));