-
Notifications
You must be signed in to change notification settings - Fork 10
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
TypeError: Cannot read property 'replace' of undefined #9
Comments
Do you have sample tap output that produces the error? |
Same problem on version 1.0.5. Downgraded to 1.0.0 and it's ok there. It only breaks when a test case fail. |
I can reproduce this issue on v1.0.1, v1.0.5 and v2.0.0:
The input is:
v1.0.0 works as expected:
|
The tap-dot executable crashes on some test failure outputs.[0] This is confusing since a test failure in itself often requires debugging. The issue is present from v1.0.1 to the latest, v2.0.0. Instead of downgrading, replace tap-dot with the popular tap-mocha-reporter. This change comes with a bonus: console.log is no longer filtered out. The benefit cannot be overstated. [0]: scottcorgan/tap-dot#9 Change-Id: I4ce2d2816885b7c5214f5c1863be595be0d8b1aa
Yep facing this too - here's much simpler TAP input to test with:
and the error:
|
I get this when I pass an error that has endlines in the message body. Same issue with |
It was a tap-out issue. scottcorgan/tap-out#33 |
The text was updated successfully, but these errors were encountered: