Improve debug message when json parsing fails in e2e tests #376
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
stylelint's e2e tests started failing in October per stylelint/stylelint-ecosystem-tester#61
It looks like some node debug message is screwing the ability to parse the output of stderr when using
--json
as json, but the current message is highly truncated. I suspect this is new as a result of moving from node 20 to 22 for the the ecosystem tests.The error we get is:
Rethrow with the full content of stderr so we can see what is appearing that is causing this failure