Skip to content
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

Supply empty haste modulemap for jest runtime resolver #273

Merged
merged 1 commit into from
Jun 9, 2017

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Jun 9, 2017

This PR updates bootstrap logic for jest runtime, instead of acquiring haste module map by building whole just supply empty modulemap directly. This approach works by danger config doesn't provide config.roots , so there's no hastemap's actually generated anyway.

For original reason why it wasn't work in windows platform, refer jestjs/jest#3776 - if those PR's accepted and if you prefer to preserve existing logic, bump up jest would resolve issue as well.

@kwonoj kwonoj requested a review from orta June 9, 2017 04:12
@orta
Copy link
Member

orta commented Jun 9, 2017

damn, the solution was to remove a bunch of code? 🍡

Thanks a lot for digging in here @kwonoj - I can't imagine this was a quick one to understand, thanks so much!

@orta orta merged commit 73432b7 into danger:master Jun 9, 2017
This was referenced Jun 9, 2017
@kwonoj kwonoj deleted the fix-modulemap-win branch June 9, 2017 13:24
@orta orta mentioned this pull request Jun 9, 2017
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

danger pr failing in windows
2 participants