Skip to content

feat: add more tests for proxy.ts #3858

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jul 29, 2021
Merged

feat: add more tests for proxy.ts #3858

merged 2 commits into from
Jul 29, 2021

Conversation

jsjoeio
Copy link
Contributor

@jsjoeio jsjoeio commented Jul 26, 2021

This PR adds more tests for proxy.ts, specifically to test that our proxy handles error events appropriately.

Fixes N/A

P.S. huge shoutout to @vapurrmaid for pairing with me on this 🎉

@codecov
Copy link

codecov bot commented Jul 26, 2021

Codecov Report

Merging #3858 (19fa7cf) into main (7e43f7d) will increase coverage by 0.10%.
The diff coverage is n/a.

❗ Current head 19fa7cf differs from pull request most recent head 9137816. Consider uploading reports for the commit 9137816 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3858      +/-   ##
==========================================
+ Coverage   63.40%   63.51%   +0.10%     
==========================================
  Files          36       36              
  Lines        1872     1872              
  Branches      379      379              
==========================================
+ Hits         1187     1189       +2     
+ Misses        582      580       -2     
  Partials      103      103              
Impacted Files Coverage Δ
src/node/proxy.ts 100.00% <0.00%> (+22.22%) ⬆️

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 7e43f7d...9137816. Read the comment docs.

@jsjoeio jsjoeio self-assigned this Jul 26, 2021
@jsjoeio
Copy link
Contributor Author

jsjoeio commented Jul 26, 2021

cc @code-asher would love to get your eyes on this and help me understand what I'm missing

@jsjoeio jsjoeio added the testing Anything related to testing label Jul 27, 2021
@jsjoeio jsjoeio added this to the 3.12.0 milestone Jul 27, 2021
@jsjoeio jsjoeio force-pushed the jsjoeio-add-proxy-test branch from 1655625 to a86f3df Compare July 27, 2021 19:06
@jsjoeio jsjoeio marked this pull request as ready for review July 27, 2021 19:09
@jsjoeio jsjoeio requested a review from a team as a code owner July 27, 2021 19:09
@jsjoeio jsjoeio force-pushed the jsjoeio-add-proxy-test branch from 8390c7c to 9eca6a5 Compare July 27, 2021 21:25
@jsjoeio jsjoeio force-pushed the jsjoeio-add-proxy-test branch from 9eca6a5 to 07f6647 Compare July 27, 2021 22:51
Copy link

@oxy oxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! ✨

@jsjoeio jsjoeio force-pushed the jsjoeio-add-proxy-test branch from 07f6647 to 9137816 Compare July 29, 2021 22:17
@jsjoeio jsjoeio enabled auto-merge July 29, 2021 22:17
@jsjoeio jsjoeio merged commit ff3b188 into main Jul 29, 2021
@jsjoeio jsjoeio deleted the jsjoeio-add-proxy-test branch July 29, 2021 22:33
@jsjoeio jsjoeio modified the milestones: 3.12.0, 3.11.1 Aug 6, 2021
@ahmadyahya11 ahmadyahya11 mentioned this pull request Aug 8, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
testing Anything related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants