From dbf511f351a205f5f957d0cd5f3f2dd11a2f070a Mon Sep 17 00:00:00 2001 From: Ben White Date: Mon, 16 Dec 2024 15:02:00 +0100 Subject: [PATCH] Fix cypress tests --- cypress/support/e2e.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypress/support/e2e.ts b/cypress/support/e2e.ts index 813d60cef..2ecbd9f72 100644 --- a/cypress/support/e2e.ts +++ b/cypress/support/e2e.ts @@ -7,6 +7,9 @@ Cypress.on('window:before:load', (win) => { cy.spy(win.console, 'warn') cy.spy(win.console, 'log') cy.spy(win.console, 'debug') + + // NOTE: Temporary change whilst testing remote config + ;(win as any)._POSTHOG_CONFIG = {} }) beforeEach(() => {