2020-05-25 17:40:57 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
tests:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.ui-test
|
|
|
|
volumes:
|
2020-10-27 14:14:34 +08:00
|
|
|
- './node_modules:/app/node_modules'
|
2020-05-25 17:40:57 +08:00
|
|
|
- './components:/app/components'
|
|
|
|
- './tests:/app/tests'
|
|
|
|
- './jest-stare:/app/jest-stare'
|
|
|
|
- './dist:/app/dist'
|
2020-10-23 18:50:46 +08:00
|
|
|
- '.jest.image.js:/app/.jest.image.js'
|
2020-11-14 12:34:45 +08:00
|
|
|
- './jest-puppeteer.config.js:/app/jest-puppeteer.config.js'
|
2020-10-23 18:50:46 +08:00
|
|
|
- './imageSnapshots:/app/imageSnapshots'
|
|
|
|
- './imageDiffSnapshots:/app/imageDiffSnapshots'
|
|
|
|
entrypoint: "jest --config .jest.image.js --no-cache -i"
|