Closed king8fisher closed 3 months ago
I personally like the lint rule for Deno.test
calls. Sometimes if I accidentally leave a console.log there then the test output gets noisy so it's nice to have the lint rule help me clean those up. I just add a // deno-lint-ignore no-console
if I really want to do that.
Feels like an unnecessary addition after all!
If it is totally harmless to reference console within the boundaries of tests, that would be awesome.
I guess, tests can also call helper functions, so may be this will have to affect whole test files. Only if there is no way to import any helper functions or classes located in the test files by regular files.