ava/failing-test-url
February 8, 2026 ยท View on GitHub
๐ Require a URL in a comment above test.failing().
๐ซ This rule is disabled in the โ
recommended config.
test.failing() marks tests that are expected to fail due to a known bug. Without a link to the issue tracker, it's easy to forget why the test was marked as failing.
This rule requires a comment with a URL (http:// or https://) directly above the test.failing() call.
Examples
import test from 'ava';
// https://github.com/avajs/ava/issues/123
test.failing('foo', t => { // โ
t.pass();
});
test.failing('bar', t => { // โ
t.pass();
});
// TODO: fix this
test.failing('baz', t => { // โ (comment has no URL)
t.pass();
});