-
Hello, I am having some issues with my tests after introducing remix-18next which is a great library. I get the following error: I am not sure how to parse this information though. Not sure on how to proceed? Most tests aren't e2e tests, so in this case there isn't any backend? I have done this:
But it had no effect. Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Solved it by mocking it in setup-test-env.ts
|
Beta Was this translation helpful? Give feedback.
-
You need to wrap RemixStub in a IntlProvider by react-i18next and pass an i18next instance. |
Beta Was this translation helpful? Give feedback.
Solved it by mocking it in setup-test-env.ts