react, typescript 로 구성된 프로젝트의 unit test 라이브러리 및 환경설정방법jest, @testing-library/jest-dom , @testing-library/react, jest-plugin-context, given2 를 사용함 unit
모듈을 dynamic import 로 불러오는 경우를 test 할 때는 일반적인 test 방법을 사용할 경우 test 가 통과하지 않는다. 이유는 suspense 에서 fallback 에 지정한 요소를 render 하고 , testingLibrary 에서는 해당 ren