jest-react-hooks-shallow
Bringing React Hooks to shallow rendering
파일 탐색기
최종 버전 다운로드 (.zip)- callback.js
- cleanup.js
- components.test.jsx
- use-effect-component.jsx
- use-layout-effect-component.jsx
- setupTests.js
- .env
- .gitignore
- package.json
- README.md
- yarn.lock
- callback.js
- cleanup.js
- components.test.jsx
- use-effect-component.jsx
- use-layout-effect-component.jsx
- setupTests.js
- .env
- .gitignore
- package.json
- README.md
- yarn.lock
- material-ui-component.jsx
- material-ui-component.test.jsx
- callback.js
- cleanup.js
- components.test.jsx
- use-effect-component.jsx
- use-layout-effect-component.jsx
- index.html
- index.jsx
- babel.config.js
- jest.config.js
- package-lock.json
- package.json
- setupTests.js
- webpack.config.js
- material-ui-component.jsx
- material-ui-component.test.jsx
- callback.js
- cleanup.js
- components.test.jsx
- use-effect-component.jsx
- use-layout-effect-component.jsx
- index.html
- index.jsx
- babel.config.js
- jest.config.js
- package-lock.json
- package.json
- setupTests.js
- webpack.config.js
- material-ui-component.jsx
- material-ui-component.test.jsx
- callback.js
- cleanup.js
- components.test.jsx
- use-effect-component.jsx
- use-layout-effect-component.jsx
- index.html
- index.jsx
- babel.config.js
- jest.config.js
- package-lock.json
- package.json
- setupTests.js
- webpack.config.js
- mock-use-effect.test.ts
- mock-use-effect.ts
- enable-hooks.ts
- .eslintrc.js
- .gitignore
- .npmignore
- jest.config.js
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/mikeborozdin/jest-react-hooks-shallow
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd jest-react-hooks-shallow
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm install --save-dev jest-react-hooks-shallow
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
yarn add --dev jest-react-hooks-shallow
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
