From 398b55905f60647fc86d9b16f8ba8f3b102ac51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Oberm=C3=BCller?= Date: Wed, 27 Dec 2023 13:03:51 +0100 Subject: [PATCH] fix(process): load mock process in app (#19522) --- frontend/src/scenes/App.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/scenes/App.tsx b/frontend/src/scenes/App.tsx index 4df4eb3031d9d..6c96864370cf3 100644 --- a/frontend/src/scenes/App.tsx +++ b/frontend/src/scenes/App.tsx @@ -1,4 +1,5 @@ import { actions, BindLogic, connect, events, kea, path, reducers, selectors, useMountedLogic, useValues } from 'kea' +import { MOCK_NODE_PROCESS } from 'lib/constants' import { use3000Body } from 'lib/hooks/use3000Body' import { ToastCloseButton } from 'lib/lemon-ui/LemonToast/LemonToast' import { SpinnerOverlay } from 'lib/lemon-ui/Spinner/Spinner' @@ -24,6 +25,8 @@ import type { appLogicType } from './AppType' import { preflightLogic } from './PreflightCheck/preflightLogic' import { teamLogic } from './teamLogic' +window.process = MOCK_NODE_PROCESS + export const appLogic = kea([ path(['scenes', 'App']), connect([teamLogic, organizationLogic, frontendAppsLogic, inAppPromptLogic, actionsModel, cohortsModel]),