Cypress · Senior · Question 21 of 76
What does eslint-plugin-cypress help prevent?
- 1Typos in the application's production source code
- 2Anti-patterns like assigning results or unneeded waits
- 3Tests running in browsers other than Chrome
Show the answer
Correct answer: Anti-patterns like assigning results or unneeded waits
Explanation
Rules such as no-unnecessary-waiting and no-assigning-return-values catch common mistakes in review automatically.