Skip to content

test: migrate snapshots from python to js #57778

New issue

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

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

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjohansebas
Copy link
Member

There’s still one test failing related to this PR, but with this PR we should have migrated all the tests in /test/message to use Node.js' built-in snapshots

ref #47707

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 6, 2025
*[90m ... 6 lines matching cause stack trace ...*[39m
*[90m at *[39m {
[cause]: FoobarError: Individual message
at Object.<anonymous> \x1B[90m(/\x1B[39mtest*util_inspect_error_cause.js:*:*\x1B[90m)\x1B[39m {
Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason, \x1B gets transformed into \\x1B in the snapshot output, and as a result the input ends up being different, but only in this test. It's a bit of strange behavior, does anyone have any idea? It doesn't seem to be related to this PR.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants