call(back)

Have You Used Jest?

Have you used Jest? What do you test with it?

Answer out loud in under a minute, from your own work first.

Hints

Hint 1

Answer from your own work: which kinds of code, and one technique such as fake timers.

Solution

Show the approach

Answer

Be ready to name what you test with it: pure functions, component behavior through Testing Library, and timers with fake timers, which is how you would test debounce without waiting.

Assistant

Sign in to use the assistant — ask what the problem means, get a hint when you're stuck, or have your current work reviewed. Conversations save to your account.

Asked at

Similar Problems3