🎨 FrontendTestingZustand TestResetting store for each test case const initialStoreState = useStore.getState(); describe('MyComponent', () => { beforeEach(() => { useStore.setState(initialStoreState, true); }); Ref (opens in a new tab)Jest FrontendZod