Skip to main content

Quiz: Code Coverage & CI

Test what you learned in this lesson before moving on.

Lesson Quiz

Pass with 80% to complete this lesson.

1. Which coverage metric is typically the hardest to achieve and most valuable for finding untested edge cases?

2. What does the `--findRelatedTests` flag do when used with Jest in a pre-commit hook?

3. Why does high code coverage NOT guarantee high test quality?