Tape test named `ok` will always fails
Closed this issue · 2 comments
vvo commented
var test = require('tape');
test('ok', function(t) {
t.plan(1);
t.ok(true);
});
Running this through zuul fails with:
TAP version 13
zuul.js:42 # ok
index.js:94Uncaught Error: write after end
Zuul is unable to write on console.log stream and emits an error event and fails.
I am lost since this is the only name that I found to be failing, seems magic. Need help :-)
PS: No big deal in the end, just do not name your test "ok" but still we're missing something here
vvo commented
Also, running a simple tape test named "ok" works in node
vvo commented
Thanks!