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

Unhelpful error on tests that don’t call plan or end #75

Open
jmakeig opened this issue Mar 22, 2017 · 0 comments
Open

Unhelpful error on tests that don’t call plan or end #75

jmakeig opened this issue Mar 22, 2017 · 0 comments
Assignees
Milestone

Comments

@jmakeig
Copy link
Owner

jmakeig commented Mar 22, 2017

When a test does not call assert.plan() or assert.end() it fails with an exception.

JS-JAVASCRIPT: result.at = (at || stack[2]).toString(); -- Error running JavaScript request: TypeError: Cannot read property 'toString' of undefined`

This is an internal error that should be caught and bubbled earlier. (How does Tape handle it?)

@jmakeig jmakeig added this to the 1.0 milestone Mar 22, 2017
@jmakeig jmakeig self-assigned this Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant