Skip to content

Conversation

sdangol
Copy link
Contributor

@sdangol sdangol commented Sep 3, 2025

Summary

This PR fixes the breaking tests in Nodejs v22.19.0 by replacing the deep checking of error properties with subset checking of the error properties.

Changes

Please provide a summary of what's being changed

  • Added the diff property in the expected object if running on Nodejs version >=22.19.0

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #4409


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@boring-cyborg boring-cyborg bot added the tests PRs that add or change tests label Sep 3, 2025
@pull-request-size pull-request-size bot added the size/XS PR between 0-9 LOC label Sep 3, 2025
@sdangol sdangol requested review from dreamorosi and svozza September 3, 2025 12:42
@sdangol sdangol self-assigned this Sep 3, 2025
Copy link

sonarqubecloud bot commented Sep 3, 2025

@sdangol sdangol requested a review from dreamorosi September 3, 2025 13:05
@dreamorosi dreamorosi self-requested a review September 3, 2025 14:13
@dreamorosi dreamorosi merged commit 8b25ce7 into main Sep 3, 2025
38 checks passed
@dreamorosi dreamorosi deleted the improv/logger-error-format-test branch September 3, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS PR between 0-9 LOC tests PRs that add or change tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: Logger unit test fails with Nodejs v22.19.0 in the pipeline
3 participants