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
With version 23, if I'm using something like this:
describe('myFunction',()=>{it.each([[123,true],[456,true],[789,false],[0,false],])('should do something',(number,myBool)=>{expect(muFunction(number)).toBe(myBool);},);});
The jest/valid-title complains about the array not being a valid title.
I see that there have been a few changes to valid-title in the last releases. So perhaps an issue like #334 is now appearing again, or at least this one here is very similar.
src/rules/__tests__/valid-title.test.ts doesn't have any test cases for it.each (except a single one from #436). Adding some would be good I think.
The text was updated successfully, but these errors were encountered:
With version 23, if I'm using something like this:
The
jest/valid-title
complains about the array not being a valid title.I see that there have been a few changes to
valid-title
in the last releases. So perhaps an issue like #334 is now appearing again, or at least this one here is very similar.src/rules/__tests__/valid-title.test.ts
doesn't have any test cases forit.each
(except a single one from #436). Adding some would be good I think.The text was updated successfully, but these errors were encountered: