boostcampwm2023/baekjoonrooms

Test(server): AppModule e2e test 지원

Closed this issue · 0 comments

앱 모듈 전체의 동작을 확인하고 테스트를 자동화하는 e2e를 설정하여 Nest.JS의 장점을 최대로 활용할 계획입니다.

그러기 위해서

  1. main.ts 에 있는 대부분의 global middleware, guard, intercepter, filter들을 AppModule로 끌어와야 합니다.
  2. api에 대한 supertest http 테스트 코드를 작성해야 합니다.