-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using with Jest, EISDIR: illegal operation on a directory #3
Comments
Hi @kerbe - thanks for using this component and posting an issue. I will check that and give you feedback. Any chance that I may access your sources or at least package.json to check with same conditions? |
I stripped code to bare minimum, and pushed to public repo so you can see: That has same Actual code is same structure as my project, but stripped down. That When I was reducing code for that repo, I thought that maybe ChakraUI and it's |
Any update on this @TomFreudenberg? |
Hi @kerbe sorry for late reply, I was on a project-trip for the last time. I will follow up starting new year. Cheers |
I have tried starting to use this package, but running problems on very beginning.
I have test file like this:
And when I run jest to test that, I get following error:
This problem appears whenever I have import for withMockAuth present, ie this line:
If I remove that line, all works as expected (I get error that useSession needs to be wrapped within SessionProvder). Adding that
withMockAuth
insiderender()
call doesn't change output in any way from EISDIR error.I've wiped my
node_modules
and installed things again, but hasn't changed outcome. Any ideas for further fixing this issue?The text was updated successfully, but these errors were encountered: