7-3, 10-1 [BE] 논문 검색 테스트 코드 작성, 키워드 검색 API 작성 #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
개요
논문 검색과 관련한 테스트 코드, 키워드 검색 기능이 추가되었습니다.
작업사항
/search
로직 작성/search/auto-complete
과/search
에 대한 테스트코드 작성/search
와/search/auto-complete
는 crossref에 요청하는 쿼리만 다르고 그 외에는 동일하게 작동합니다.search.controller.spec.ts
에서는, axios get 요청에 대해 가짜 함수를 implement하여 사용합니다.package.json
은 jest timeout을 추가하면서 tab이 space로 변경되었습니다.리뷰 요청사항
/search
로직/search
에서 추가적으로 테스트가 필요하거나, 변경되었으면 좋겠는 부분