Skip to content
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

Node 23 Regression: --test + --watch Do Not Display Error Details #56902

Closed
pierophp opened this issue Feb 3, 2025 · 2 comments
Closed

Node 23 Regression: --test + --watch Do Not Display Error Details #56902

pierophp opened this issue Feb 3, 2025 · 2 comments

Comments

@pierophp
Copy link

pierophp commented Feb 3, 2025

Version

23.7.0

Platform

Linux piero-note-win 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

Repro repository:
https://github.com/pierophp/node23-test-watch-repro

Run:
npm run test:watch

How often does it reproduce? Is there a required condition?

When using --watch with the --test flag, it doesn't display the error output. It works fine with Node 22, but this appears to be a regression from #50355.

What is the expected behavior? Why is that the expected behavior?

Node 22 (AssertionError):
Image

What do you see instead?

Node 23:
Image

Additional information

It works on Node 23 without the --watch flag.

Image

@cjihrig
Copy link
Contributor

cjihrig commented Feb 3, 2025

I think this is related to #56662. cc @pmarchini

EDIT: This is only present in v23.7.0. Other versions of v23 seem fine.

@pmarchini
Copy link
Member

closed by #56911

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants