Skip to content
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Home
/
Automation Test Engineer
/
Questions
/
Jest
Automation Test Engineer
Jest questions
10 questions on Jest for automation test engineers, easiest first.
Easy
3
A toThrow test that errors
easy
Comparing decimal results
easy
Checking an email was sent once
easy
Medium
5
Watching a real method
medium
Faking an async API call
medium
Testing a debounced search
medium
A test that passes for the wrong reason
medium
A mock leaking into other tests
medium
Hard
2
A jest.mock factory error
hard
Work that outlives the test
hard