Innocent looking boolean parameters, or flags, are often the reason for hard to maintain legacy code. Resist the urge of adding them!| tkdodo.eu
A simple principle that can drastically improve your reusable code| kentcdodds.com
Why using hooks like beforeEach as a mechanism for code reuse leads to unmaintainable tests and how to avoid it.| kentcdodds.com