jest-testcontainers
Jest preset for running docker containers with your tests
파일 탐색기
최종 버전 다운로드 (.zip)- example.spec.js
- jest-testcontainers-config.js
- jest.config.js
- example.spec.ts
- jest-testcontainers-config.js
- jest.config.js
- docker-compose.yml
- example.spec.js
- jest-testcontainers-config.js
- jest.config.js
- README.md
- config.spec.ts
- config.ts
- containers.spec.ts
- containers.ts
- environment.spec.ts
- environment.ts
- index.ts
- setup.ts
- teardown.spec.ts
- teardown.ts
- global.d.ts
- .gitignore
- .gitlab-ci.yml
- .npmignore
- .nvmrc
- .travis.yml
- DOC.md
- FAQ.md
- jest-preset.js
- jest.config.js
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- tslint.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Trendyol/jest-testcontainers
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd jest-testcontainers
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
Create a file called `jest-testcontainers-config.js` and put it to root of your project, where you run *npm test*. If you would like to put this file somewhere else, you can use the *JEST_TESTCONTAINERS_CONFIG_PATH* environment variable to define a relative or absolute path. A sample configuration file;
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
