Test is getting failed due to this. If anyone faced same issue do let me know the solution. #3327
Unanswered
ymanish2910
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
If you are using Jest, you need to set up ESM loading. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
import { createSyncStoragePersister } from "@tanstack/query-sync-storage-persister"
SyntaxError: Cannot use import statement outside a module
Beta Was this translation helpful? Give feedback.
All reactions