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
Ava has a cool rule called no-ignored-test-files. It would be great if we could port it.
It won't be as easy for us since we use globals. But looking for either describe, test or it which are not imported in any file not matched by Jest's testMatch (and the other ways of configuring where jest looks for tests) should be a good start.
Jest has a flag called listTests, but I'm not sure if we're able to call it programmatically (or if we'd want to).
Hopefully this is doable 🙂
The text was updated successfully, but these errors were encountered:
Ava has a cool rule called
no-ignored-test-files
. It would be great if we could port it.It won't be as easy for us since we use globals. But looking for either
describe
,test
orit
which are not imported in any file not matched by Jest'stestMatch
(and the other ways of configuring where jest looks for tests) should be a good start.Jest has a flag called
listTests
, but I'm not sure if we're able to call it programmatically (or if we'd want to).Hopefully this is doable 🙂
The text was updated successfully, but these errors were encountered: