Open SouroucheB opened 1 month ago
Hello there,
I'm getting this error when I run a very basic test in Jest :
describe('Page', () => { it('should render the page', async () => { render(<Page />) }) })
I saw that we are using zustand-computed in stores that are used in the tested page and removing them is fixing the issue.
zustand-computed
FYI, I've tried to mock zustand, I also try to update Jest config to tell him to transform the zustand-computed mjs files in usable js.
Is your app otherwise ES Module based?
Hello there,
I'm getting this error when I run a very basic test in Jest :
I saw that we are using
zustand-computed
in stores that are used in the tested page and removing them is fixing the issue.FYI, I've tried to mock zustand, I also try to update Jest config to tell him to transform the
zustand-computed
mjs files in usable js.