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

test: migrate a pseudo_tty test to use assertSnapshot by MoLow · Pull Request #47803 · nodejs/node · GitHub

/ node Public

test: migrate a pseudo_tty test to use assertSnapshot - #47803

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
MoLow:migrate-psuedo-tty
May 4, 2023
Merged

test: migrate a pseudo_tty test to use assertSnapshot#47803
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
MoLow:migrate-psuedo-tty

Conversation

MoLow commented May 1, 2023

Copy link
Copy Markdown
Member

this is another followup for #47498 enabling running pseudo-tty snapshot tests

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/test_runner

MoLow marked this pull request as draft May 1, 2023 18:01
nodejs-github-bot added needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. labels May 1, 2023
MoLow force-pushed the migrate-psuedo-tty branch from 5580260 to d086cf1 Compare May 1, 2023 20:05
MoLow marked this pull request as ready for review May 1, 2023 20:06
Comment thread test/common/assertSnapshot.js Outdated
MoLow force-pushed the migrate-psuedo-tty branch from d086cf1 to e64ee0e Compare May 1, 2023 20:30
MoLow requested review from GeoffreyBooth and benjamingr May 1, 2023 20:31
Comment thread test/common/assertSnapshot.js Outdated

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

Could we run these with ANSI colors support disabled to make easier-to-read snapshots?

Copy link
Copy Markdown
Member Author

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

the entire purpose of this test is to test the colors and the reporter

Comment thread test/parallel/test-runner-output.mjs Outdated
MoLow force-pushed the migrate-psuedo-tty branch 2 times, most recently from b6f9dfd to 12913f5 Compare May 2, 2023 05:21
MoLow changed the title test: migrate pseudo_tty tests to use assertSnapshot test: migrate a pseudo_tty test to use assertSnapshot May 2, 2023
MoLow force-pushed the migrate-psuedo-tty branch from 12913f5 to db53913 Compare May 2, 2023 05:36
MoLow added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels May 2, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 2, 2023

Copy link
Copy Markdown
Collaborator

MoLow commented May 3, 2023

Copy link
Copy Markdown
Member Author

I spend hours to get a working Windows environment to figure out why tests were failing when it turns out this is the original behavior 😂 :

if utils.IsWindows():
print ("Skipping pseudo-tty tests, as pseudo terminals are not available"
" on Windows.")

MoLow added the request-ci Add this label to start a Jenkins CI on a PR. label May 3, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 3, 2023

Copy link
Copy Markdown
Collaborator

benjamingr added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels May 4, 2023
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 4, 2023
nodejs-github-bot merged commit 9e5e2f1 into nodejs:main May 4, 2023

Copy link
Copy Markdown
Collaborator

Landed in 9e5e2f1

MoLow deleted the migrate-psuedo-tty branch May 4, 2023 08:57
targos pushed a commit that referenced this pull request May 12, 2023
PR-URL: #47803
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
PR-URL: #47803
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
MoLow added a commit to MoLow/node that referenced this pull request Jul 6, 2023
PR-URL: nodejs#47803
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
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

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL