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