No Way(?) To Disable Unnecessary Error (Which Should be a Warning?) #3090
Replies: 4 comments
-
Nevermind, found |
Beta Was this translation helpful? Give feedback.
-
Actually, that didn't help :( Re-opening. |
Beta Was this translation helpful? Give feedback.
-
AVA considers it a problem if a test file (as determined by the, possibly default, glob patterns) does not contain any tests. You could perhaps rename the file to |
Beta Was this translation helpful? Give feedback.
-
Thanks. I still think |
Beta Was this translation helpful? Give feedback.
-
I have some files with old tests from my previous test runner (Mocha). I have them completely commented out, but when I run Ava I get a ton of:
Is there any sort of command line flag I can provide to tell Ava "yes I know those files have no tests, I'll fix them later, but for now please stop telling me?" It seems like that would be handy, as commented-out test files aren't actually harmful.
Also, regardless of the above, why are these errors (with red coloring and an X): if nothing is broken, shouldn't they be warnings instead?
Beta Was this translation helpful? Give feedback.
All reactions