Put in order · JavaScript and TypeScript course · Module 11: Testing with Jest
Setup/Teardown Execution Order
Arrange the execution order of setup/teardown functions in Jest:
Items to put in order
- beforeAll
- test (test body)
- afterAll
- beforeEach
- afterEach
You can check the correct answer by solving this task in the CodeWorlds game.