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

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

feat(testing): add unit tests for common/util - #2671

Merged
jsjoeio merged 4 commits into
masterfrom
add-unit-tests
Feb 8, 2021
Merged

feat(testing): add unit tests for common/util#2671
jsjoeio merged 4 commits into
masterfrom
add-unit-tests

Conversation

jsjoeio commented Feb 3, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

This PR adds several unit tests for the src/common/util functions.

Screenshot

It increases our code coverage (Lines) from 46.88% to 49.53% (↑ 2.65%)
🟩 100% coverage for src/common/util

TODOS

  • write tests for logError
  • write tests for getOptions
  • write tests for generateUuid
  • update screenshot and percentage

jsjoeio self-assigned this Feb 3, 2021
jsjoeio marked this pull request as ready for review February 4, 2021 17:41
jsjoeio requested a review from code-asher February 4, 2021 17:41

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

PR looks good! Might have to combine the two comments in test/package.json into a single line to avoid future issues, though.

Comment thread test/package.json
jsjoeio requested a review from oxy February 4, 2021 22:19
jsjoeio modified the milestones: v3.8.1, v3.8.2 Feb 5, 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

LGTM!

jsjoeio merged commit 7f629c3 into master Feb 8, 2021
jsjoeio deleted the add-unit-tests branch February 8, 2021 18:32
jsjoeio removed the request for review from code-asher February 8, 2021 23:27
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