You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive the following lint error if I define a function someFunction(t) { ... } that calls t.end inside of it and use test.cb.beforeEach(someFunction) or test.cb.afterEach(someFunction) such as:
const someFunction = t => {
t.end();
};
test.cb.beforeEach(someFunction); // <--- lint error here
Callback test was not ended. Make sure to explicitly end the test with `t.end()`. (ava/test-ended)
The text was updated successfully, but these errors were encountered:
I receive the following lint error if I define a function
someFunction(t) { ... }
that callst.end
inside of it and usetest.cb.beforeEach(someFunction)
ortest.cb.afterEach(someFunction)
such as:The text was updated successfully, but these errors were encountered: