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

jest/valid-describe describe.each false positive #463

Closed
kddnewton opened this issue Oct 29, 2019 · 2 comments
Closed

jest/valid-describe describe.each false positive #463

kddnewton opened this issue Oct 29, 2019 · 2 comments

Comments

@kddnewton
Copy link

I can see #334 and #336 are both related, wasn't sure if you would want it reported on one of those or not. Happy to move it if it would be better elsewhere. Here's the violating code:

const cases = [
  ["email", EmailField],
  ["number", NumberField],
  ["password", PasswordField],
  ["string", StringField]
];

describe.each(cases)("%s", (type, FormField) => {
  ...
});

It's currently saying Unexpected argument(s) in describe callback.

@G-Rath
Copy link
Collaborator

G-Rath commented Oct 29, 2019

@kddeisz Hmmm that's interesting.

I'll take a look when I've got a chance, cheers.

@github-actions
Copy link

github-actions bot commented Nov 8, 2019

🎉 This issue has been resolved in version 23.0.3 🎉

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

No branches or pull requests

2 participants