Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule expect-expect fails for todo #953

Closed
aarongoldenthal opened this issue Oct 15, 2021 · 1 comment · Fixed by #954
Closed

Rule expect-expect fails for todo #953

aarongoldenthal opened this issue Oct 15, 2021 · 1 comment · Fixed by #954

Comments

@aarongoldenthal
Copy link

In v25.2.0 (or somewhere between 25.0.5 and 25.2.0), rule jest/expect-expect is now failing for it.todo.

For example:

describe('some tests', () => {
    it.todo('should have a test');
});
PS E:\Project>npx eslint **/*.js
E:\Project\tests\something.test.js
  2:5  warning  Test has no assertions  jest/expect-expect

✖ 1 problem (0 errors, 1 warning)

This occurs in Windows and v12/14/16 node containers with eslint 8.0.0/8.0.1.

@github-actions
Copy link

🎉 This issue has been resolved in version 25.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants