You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when a pepr / a pepr-excellent-example fail in a particular way during testing, we get an abbreviated, rather-hard-to-understand / -diagnose error message out of the test runner.
SyntaxError: Unexpected token '(', "(node:1) ["... is not valid JSON
at JSON.parse (<anonymous>
The way we have to troubleshoot this is to pull the offending example down to execute locally (after injecting some add'l log dumps).
The ask here is: make the test helper that's throwing the opaque error message more explicit in the failure case. We want to:
dump the whole error message / stack track, and
dump out the logs that caused the error.
This would allow us to diagnose test issues without first having to pull it down & run it locally.
The text was updated successfully, but these errors were encountered:
Currently, when a pepr / a pepr-excellent-example fail in a particular way during testing, we get an abbreviated, rather-hard-to-understand / -diagnose error message out of the test runner.
The way we have to troubleshoot this is to pull the offending example down to execute locally (after injecting some add'l log dumps).
The ask here is: make the test helper that's throwing the opaque error message more explicit in the failure case. We want to:
This would allow us to diagnose test issues without first having to pull it down & run it locally.
The text was updated successfully, but these errors were encountered: