You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to set up razzle to be able to run tests with @testing-library/react from IDE (Webstorm) level? Apparently, it has a problem finding/read jest.config -> it throws an error that it does not have @testing-library/react specific function for example TypeError: expect(...).toBeInTheDocument is not a function
But running this test from console works fine.
In beginning, I had problem with running all tests but add .babelrc with { "presets": [ "razzle/babel" ] }
Is there a quick fix for it? I try to search in your doc but I do not find anything useful for this issue
The text was updated successfully, but these errors were encountered:
❓Question
How to set up razzle to be able to run tests with
@testing-library/react
from IDE (Webstorm) level? Apparently, it has a problem finding/readjest.config
-> it throws an error that it does not have@testing-library/react
specific function for exampleTypeError: expect(...).toBeInTheDocument is not a function
But running this test from console works fine.
In beginning, I had problem with running all tests but add
.babelrc
with{ "presets": [ "razzle/babel" ] }
Is there a quick fix for it? I try to search in your doc but I do not find anything useful for this issue
The text was updated successfully, but these errors were encountered: