From 6c11bc3e69efe91d59b1e01ae0c739610bc43c95 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Wed, 8 Mar 2023 16:33:07 -0800 Subject: [PATCH] chore: export mocked zustand as default as well as named import --- libs/web3/__mocks__/zustand.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/web3/__mocks__/zustand.ts b/libs/web3/__mocks__/zustand.ts index b42750b88..17691a8c0 100644 --- a/libs/web3/__mocks__/zustand.ts +++ b/libs/web3/__mocks__/zustand.ts @@ -19,3 +19,6 @@ export const create = beforeEach(() => { act(() => storeResetFns.forEach((resetFn) => resetFn())); }); + +// also export default as web3-react internals import and use zustand as the default import +export default create;