Put in order · NestJS course · Module 7: Testing
Vertical sorting: Debugging a failed test
Arrange the steps for debugging a failed test:
Items to put in order
- Check input data and mocks
- Identify which assertion failed
- Read the error message and stack trace
- Fix the test or the tested code
You can check the correct answer by solving this task in the CodeWorlds game.