Open
Description
Sometimes you get sloppy / distracted and end up with a half completed test:
// you have some good tests:
test('foo', t => {
// this will never be executed because of the mistakes below
});
// This throws - saying it should be a todo test:
test('fooo');
// Ooops - did you get distracted?:
test();
// Todo should not have an implementation, it is intended to document future tests/features.
test.todo('foo', t => {});
Instead of throwing when someone misuses the API, I think the misuse should just be reported as a failure. It should still execute the correctly written tests.
There is a $40.00 open bounty on this issue. Add more on Issuehunt.
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on Issuehunt to raise funds.