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

new rule request: valid-each #493

Closed
benmonro opened this issue Dec 2, 2019 · 1 comment
Closed

new rule request: valid-each #493

benmonro opened this issue Dec 2, 2019 · 1 comment

Comments

@benmonro
Copy link
Contributor

benmonro commented Dec 2, 2019

when using a describe.each or test.each it would be nice to have a rule to ensure that the pretty formatting or $variable injection is used to ensure the results are unique.

for example, rule would report on
test.each([1,2,3])("Should square the number", () => {...})

but not report on

test.each([1,2,3])("Should square %i", () => {...})

@G-Rath
Copy link
Collaborator

G-Rath commented Dec 24, 2020

Closing as a duplicate of #359

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