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

node/webpack fix w/ support for tests #250

Closed
wants to merge 1 commit into from
Closed

Conversation

camhart
Copy link

@camhart camhart commented May 30, 2020

fix for node webpack environments, solution based off #239 but with added support for tests.

Please pay special attention to fetch-node.spec.js line #9--as I don't understand what's going on with the Promise context but that change resulted in all tests passing. I may be cheating by making that change, as node-fetch probably uses node's native Promise implementation so it's making the tests invalid. If that's the case--then I'm not sure how to fix it.

Edit: If this is accepted, we need to add the new tests to be included in github's PR checks.

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.

1 participant