From fc46396eb01e4c4844fddd323468703abff114fb Mon Sep 17 00:00:00 2001 From: Gloria Giannascoli Date: Mon, 29 Jul 2024 14:04:22 +0200 Subject: [PATCH] . --- src/mocks/MockWrapper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mocks/MockWrapper.tsx b/src/mocks/MockWrapper.tsx index 281a36d..f43bbbe 100644 --- a/src/mocks/MockWrapper.tsx +++ b/src/mocks/MockWrapper.tsx @@ -4,10 +4,10 @@ const MockWrapper: React.FC<{ children: React.ReactNode }> = ({ children }) => { const [started, setStarted] = useState(false) async function enableMocking() { - if (process.env.NODE_ENV !== "development") { + /*if (process.env.NODE_ENV !== "development") { setStarted(true) return - } + }*/ const { worker } = await import("./browser") await worker.start() setStarted(true)