Dockerfile linksWATCHWhen set to 1 enable to watch mode
.
├── docker-compose.yml
└── web
└── src
└── js
├── add.js
└── add.spec.js
version: '3'
services:
jest:
image: punimeister/jest
restart: on-failure
environment:
WATCH: 0
volumes:
- ./web:/app/web
export const add = (a, b) => a + b;
import { add } from './add';
test('1 + 1 = 2', () => {
expect(add(1, 1)).toBe(2);
});
Content type
Image
Digest
Size
60.6 MB
Last updated
about 7 years ago
docker pull punimeister/jest