-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
🎁 Rewarded on IssuehuntThis issue has been rewarded on IssuehuntThis issue has been rewarded on Issuehuntbughelp wanted
Description
Hi,
When a property of t.context match an existing AVA function (say end), the eslint plugin fire an error for incorrect use of this function.
Consider:
test.beforeEach((t) => {
t.context = new Vector(1, 2);
});
test("constructor", (t) => {
t.is(t.context.start, 1);
t.is(t.context.end, 2); // <= `t.end()` should only be used inside of `test.cb()` ava/no-invalid-end
});I have search the source and it appear that only end and skip raised the issue.
gmartigny earned $40.00 by resolving this issue!
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on Issuehunt to raise funds.
Metadata
Metadata
Assignees
Labels
🎁 Rewarded on IssuehuntThis issue has been rewarded on IssuehuntThis issue has been rewarded on Issuehuntbughelp wanted