-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BE#475] 서비스 코드 리팩토링 및 테스트코드 수정 (#483)
* refactor: categories service 리팩토링 - 사용되지 않는 변수 제거 * test: mate 테스트 코드 수정 - spyOn()을 이용하도록 테스트 코드 수정 - 서비스 로직에서 쿼리문 따로 함수로 분리 * refactor: 사용하지 않는 import 제거 * refactor: 학습 기록 서비스 로직 리팩토링 - db 쿼리 관련 로직 함수로 분리 * test: 테스트 코드 추가 - getPrimaryCategory() - groupByCategory() * test: 테스트 코드 수정 - user 서비스 테스트 코드 수정 - 컨트롤러 테스트 코드 삭제 * test: mate service 테스트 코드 수정 - jest.spyOn 사용하도록 수정 * test: auth service 모듈 임포트 * fix: 컨트롤러 복구 - 실수로 삭제한 컨트롤러 복구
- Loading branch information
Showing
16 changed files
with
280 additions
and
178 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.