Question · JavaScript and TypeScript course · Module 11: Testing with Jest
The beforeEach Function
When does the beforeEach function execute in Jest?
Answer options
- After each test in describe
- Before each individual test in describe
- Only before the first test
- Once before all tests in describe
You can check the correct answer by solving this task in the CodeWorlds game.