Jest를 사용해보자! - 1편
1. Jest를 사용하기 전에 Yarn + Typescript + Jest + react-testing-library 프로젝트 생성은 yarn create vite my-react-app --template react-ts 추가로 의존성 설치는 1) yarn add -D typescript 2) yarn add -D jest jest-environment-jsdom 3) yarn add -D @testing-library/jest-dom @testing-library/react @testing-library/user-event 4) yarn add -D @types/jest 5) yarn add -D babel-jest ts-jest ts-node package.json 에서 scripts 부분 수정. ..
2023.10.26