Closed TWiStErRob closed 5 months ago
Workaround: npm run test | cat
on unix/linux/mac
Interestingly, I am not able to reproduce it. Could you share some more details about the environment you were running this in? Maybe the OS and the node version?
I'm away from work, but AFAIR: Node 20.10.0 MacOS is latest as far as M1 Pro gets updated I guess it was macOS Sonoma | 14.1.2 and ZSH.
I am not able to test it on a mac but at least when I am using node 20 I am not seeing this issue. Once you are back, can you test it again and see if this is still showing up?
Exact same problem on Windows 10 with Node v18.17.1, and cmd
shell:
Do you have colors in your output?
I do have colors in my output
Oh I was able to reproduce it now. Not sure what changed though
To Reproduce
npm test
ornpx jest
Expected behavior Pass
Logs
Additional context Notice that the expected 200 is yellow. That's part of the string somehow!