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

fix: imports for node-fetch when using webpack #972

Merged

Conversation

denniskribl
Copy link
Contributor

@denniskribl denniskribl commented Mar 11, 2021

Fixes partially: googleapis/google-cloud-node#2933 (this comment)

Hey yall! This should fix the problem which was discussed here when initiating a client with the fallback: true option.

I can create another issue if needed :)

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 11, 2021
@codecov
Copy link

codecov bot commented Mar 11, 2021

Codecov Report

Merging #972 (377a0cb) into master (462efcb) will decrease coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #972      +/-   ##
==========================================
- Coverage   88.69%   88.58%   -0.12%     
==========================================
  Files          43       43              
  Lines        7097     7098       +1     
  Branches      613      612       -1     
==========================================
- Hits         6295     6288       -7     
- Misses        792      800       +8     
  Partials       10       10              
Impacted Files Coverage Δ
src/fallback.ts 79.28% <100.00%> (+0.03%) ⬆️
src/normalCalls/retries.ts 93.63% <0.00%> (-5.10%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 462efcb...377a0cb. Read the comment docs.

@denniskribl denniskribl marked this pull request as ready for review March 11, 2021 16:38
@denniskribl denniskribl requested a review from a team as a code owner March 11, 2021 16:38
@denniskribl
Copy link
Contributor Author

cc @alexander-fenster

not sure about the codecov report... - if someone can point me to the right direction I'd be thankful 🙂

@alexander-fenster alexander-fenster added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 15, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 15, 2021
@alexander-fenster
Copy link
Contributor

Thanks @denniskribl! I believe the coverage will go up as soon as the remaining tests complete (I just started them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants