Translations: Français
test.todo()
is intended for planning tests. It's not meant to be passed a function to implement the test, and if given one, AVA will throw an error. If you added an implementation, you probably meant to remove the todo
modifier.
import test from 'ava';
test.todo('title', t => {
// ...
});
test.todo(t => {
// ...
});
import test from 'ava';
test.todo('title');
test(t => {
// ...
});