FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(testing): add unit tests for src/common/http by jsjoeio · Pull Request #2702 · coder/code-server · GitHub

feat(testing): add unit tests for src/common/http - #2702

Merged
jsjoeio merged 1 commit into
add-unit-tests-constantsfrom
add-unit-tests-http
Feb 10, 2021
Merged

feat(testing): add unit tests for src/common/http#2702
jsjoeio merged 1 commit into
add-unit-tests-constantsfrom
add-unit-tests-http

Conversation

jsjoeio commented Feb 9, 2021

Copy link
Copy Markdown
Contributor

This PR adds a few tests for src/common/http. Note: intentionally selected add-unit-tests-constants as the base since I branched off it.

Screenshot

It increases our code coverage (Lines) from 49.83% to 50.09% (↑ 0.0.26%).
🟩 100% Line coverage (last 100) for src/node/http.ts

jsjoeio added this to the v3.8.2 milestone Feb 9, 2021
jsjoeio requested review from code-asher and oxy February 9, 2021 18:00
jsjoeio self-assigned this Feb 9, 2021
jsjoeio changed the title feat: add tests for src/common/http feat(testing): add unit tests for src/common/http Feb 9, 2021

oxy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think BadRequest should only need to appear once.

Comment thread test/http.test.ts Outdated
jsjoeio force-pushed the add-unit-tests-http branch from 7055dba to c7c851d Compare February 9, 2021 20:13
jsjoeio requested a review from oxy February 9, 2021 20:16

oxy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

jsjoeio merged commit f1337d5 into add-unit-tests-constants Feb 10, 2021
jsjoeio deleted the add-unit-tests-http branch February 10, 2021 17:57
jsjoeio added the testing Anything related to testing label May 14, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Anything related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL