With latest master (d51c331).
import test from 'ava';
test.cb(t => {
setImmediate(() => {
throw new Error('foo');
t.end();
});
});
Default reporter:
✖ Test results were not received from test.js
Verbose reporter:
Uncaught Exception: test/stream.js
Error: foo
Immediate._onImmediate (stream.js:5:9)
✖ Test results were not received from test.js
It should show the uncaught exception in the default reporter and a more useful stack in both.