From 19be3e607a7b00e5fbcc0fb0121fafa33989ab57 Mon Sep 17 00:00:00 2001 From: David Hochbaum Date: Fri, 20 Sep 2024 16:30:26 -0400 Subject: [PATCH] Fixed failing test --- setup-test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup-test.ts b/setup-test.ts index 7d5da1b..5b3bf3f 100644 --- a/setup-test.ts +++ b/setup-test.ts @@ -25,6 +25,11 @@ Object.defineProperty(window, "scrollTo", { value: vi.fn(), }); +Object.defineProperty(window, "_paq", { + writable: true, + value: [], +}); + /** * Mock Service Worker can be configured once the Handlers are generated */