Put in order · NestJS course · Module 7: Testing
E2E test process
Arrange the E2E test steps with supertest in the correct order:
Items to put in order
- .post('/legions')
- .expect(201)
- .send({ name: 'Legion I' })
- request(app.getHttpServer())
You can check the correct answer by solving this task in the CodeWorlds game.