All quizzes
Free quiz · 50 questions in the bank

Jest quiz

Test your Jest knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

How do you write a parameterized test for many inputs?

Questions in this quiz
  1. How do you write a parameterized test for many inputs?
  2. How do you group related tests?
  3. How do you tell Jest to ignore certain folders during test discovery?
  4. What is Jest?
  5. What does `jest --watch` do?
  6. Where does Jest look for tests by default?
  7. How do you run only one test in a file?
  8. How do you spy on an existing method without replacing it?
  9. How do you skip a test?
  10. How do you assert a function throws?
  11. How do you run setup code before each test in a `describe` block?
  12. How do you assert a value is truthy?
Gaps to close?
Read the curated Jest notes — core concepts, patterns, interview prep.
Jest notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web