Translations: Français
AVA will fail if t.end()
is called in a non-.cb
test function.
const test = require('ava');
test('some test', t => {
t.pass();
t.end();
});
const test = require('ava');
test('some test', t => {
t.pass();
});
test.cb('some test', t => {
t.pass();
t.end();
});