Template project to explore running tests locally and from travis-ci with docker-compose.
docker-compose run test yarn test
docker-compose run test yarn test --coverage
docker-compose run test yarn test --watchAll
export TEST_PG_URL=postgres://localhost:5432
export TEST_COUCH_URL=http://admin:pass@localhost:5984
yarn test --coverage --projects jest-*.config.js
docker-compose build/ps/down/rm
docker ps/stop/rm
The following jest issue prevents running multiple runners(projects) before the databases are available. Once the db/containers are available, linting and testing (runners) are available; jest --projects jest-*.config.js
https://github.com/facebook/jest/issues/5441