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 assert a function was called exactly N times?
  3. What does `jest.useFakeTimers()` do?
  4. Where does Jest look for tests by default?
  5. How do you assert a function throws?
  6. How do you assert a string matches a regex?
  7. How do you tell Jest to ignore certain folders during test discovery?
  8. How do you skip a test?
  9. How do you test asynchronous code that returns a Promise?
  10. What is a "snapshot" test?
  11. How do you mock a whole module?
  12. How do you configure Jest for TypeScript?
Gaps to close?
Read the curated Jest notes — core concepts, patterns, interview prep.
Jest notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web