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
Warn about tests not run by jest #68
Labels
Comments
Can I give this a shot? |
Yeah, go for it! |
Merged
Who / what is Ava? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: