This commit is contained in:
Lukasz Ostrowski 2023-03-06 15:06:10 +01:00
parent 9420209a2d
commit 1f4bb64a3e

View file

@ -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"),
}));