loading...

re: How to test JavaScript with Jest VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Useful method: fit, it skips all others tests on a file, but a dangerous one, found out yesterday a wrong commit skipping all other tests for weeks...
 

Good one!
To prevent these kind of things, you can take a loot at eslint-plugin-jest, especially this rule. It disallows focused tests (the use of .only or fit).

Code of Conduct Report abuse