ARTICLE AD BOX
I'm learning Jest and want to make sure I'm building good habits from the start. I've read the official docs but they don't really cover what's considered good practice in real projects. Specifically I'm wondering about:
- How should I structure my test files and folders?
- Should I aim for 100% code coverage or is that overkill?
- When should I mock something vs just using the real implementation?
- Is there a recommended way to handle async tests? I'm working with vanilla JavaScript (Node.js), not React, if that makes a difference.
