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)