Translations: Français
If you forget a t.end();
in test.cb()
the test will hang indefinitely.
const test = require('ava');
test.cb(t => {
t.pass();
});
const test = require('ava');
test.cb(t => {
t.pass();
t.end();
});
test.cb(t => {
acceptsCallback(t.end);
});