Click in order · NestJS course · Module 7: Testing
Sorting: Test lifecycle hooks
Arrange the order of hook execution in a test file:
Items to click
- test/it()
- afterAll()
- beforeAll()
- beforeEach()
You can check the correct answer by solving this task in the CodeWorlds game.