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

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

feat(testing): add unit tests for register - #2719

Merged
jsjoeio merged 22 commits into
masterfrom
add-tests-register
Feb 26, 2021
Merged

feat(testing): add unit tests for register#2719
jsjoeio merged 22 commits into
masterfrom
add-tests-register

Conversation

jsjoeio commented Feb 12, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

This PR adds a few tests for src/browser/register.ts.

Screenshot

It increases our code coverage (Lines) from 50.09% to 51.13% (↑ 1.04%).
🟩 100% Line coverage (last 100) for src/browser/register.ts

TODOs

  • rebase branch onto master
  • address feedback
  • refactor based on Asher's suggestion
  • add test for else statement in register

jsjoeio added this to the v3.8.2 milestone Feb 12, 2021
jsjoeio self-assigned this Feb 12, 2021
jsjoeio marked this pull request as ready for review February 12, 2021 00:04
jsjoeio requested review from code-asher and oxy February 12, 2021 00:04
jsjoeio marked this pull request as draft February 12, 2021 16:43
jsjoeio marked this pull request as ready for review February 12, 2021 17:10

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

Looks good! Your choice on if you want a second opinion from asher on this one; I'm not too confident in my TS just yet 😅

jsjoeio commented Feb 12, 2021

Copy link
Copy Markdown
Contributor Author

I'll play it safe since we're releasing today - @code-asher would love an 👀 on this one!

jsjoeio modified the milestones: v3.9.0, v3.9.1 Feb 12, 2021
Comment thread test/util.test.ts
Comment thread src/browser/register.ts Outdated
Comment thread src/browser/register.ts Outdated
Comment thread package.json
jsjoeio marked this pull request as draft February 18, 2021 22:17
jsjoeio marked this pull request as ready for review February 18, 2021 23:57
Comment thread src/browser/register.ts Outdated
Comment thread test/emitter.test.ts
Comment thread test/register.test.ts Outdated
Comment thread test/register.test.ts Outdated
Comment thread test/register.test.ts Outdated
Comment thread src/browser/register.ts Outdated
jsjoeio marked this pull request as draft February 22, 2021 17:38
Base automatically changed from add-tests-emitter to master February 23, 2021 17:02
jsjoeio force-pushed the add-tests-register branch 2 times, most recently from 14ad29a to 909d425 Compare February 23, 2021 23:03
jsjoeio marked this pull request as ready for review February 23, 2021 23:27
Comment thread test/helpers.ts
Comment thread test/register.test.ts
jsjoeio requested review from a team and code-asher February 23, 2021 23:31
jsjoeio requested a review from a team as a code owner February 26, 2021 19:04
Comment thread test/emitter.test.ts Outdated
jsjoeio requested a review from code-asher February 26, 2021 23:00

code-asher left a comment

Copy link
Copy Markdown
Member

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

Looks good!!

Comment thread test/register.test.ts Outdated

jsjoeio commented Feb 26, 2021

Copy link
Copy Markdown
Contributor Author

CI only failed due to #2480

jsjoeio merged commit 726f694 into master Feb 26, 2021
jsjoeio deleted the add-tests-register branch February 26, 2021 23:47
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.

3 participants


Back | FazBrowse Home | New Git URL