-
Notifications
You must be signed in to change notification settings - Fork 13
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
Don't reach into build folder of jest-resolve #1
Comments
I think a better option might be for
In both of these cases, |
The first one sounds good to me, feels more explicit and allows people to implement a resolver that can fall back to default behavior if they cannot find their module for whatever reason. |
Out in 24.1.0 |
@SimenB fyi I was thinking I could keep the ugly thing until most of the ecosystem switches on Jest 24 (so probably until Jest 25, I'd say). Does that sound ok? |
Sure! However, you can check if you get it passed in now, and only do your |
Hmm that might work yeah - it adds a slight indirection but it shouldn't be a big deal in most cases 👍 |
Hey guys, I'm trying to update to jest 24, and I'm getting the error about how it can't find the old path (default_resolver). I saw in index.js you implemented the ugly thing, but in your latest release, 1.0.2, this code isn't there. Any chance the fix will get released soon? |
Ahh.. just noticed you referenced a PR that will close this problem. Any idea on release time? |
@terwort I've just merged and released the change as 1.1.0 - can you confirm the fix? Seems to work for me. |
@arcanis I can confirm it is fixed! Thank you very much for your fast delivery 😄 |
Jest is currently renaming files: jestjs/jest#4969
The default resolver should probably be exported from
main
The text was updated successfully, but these errors were encountered: