- cli/env
docker-compose run tests yarn test
docker-compose run tests yarn test --coverage
docker-compose run tests 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
- jest: snapshot testing, mocking support, performant
https://www.youtube.com/watch?v=NtjyeojAOBs
- ramda
- async/await
- es6 classes
https://www.quora.com/What-are-the-benefits-of-using-classes-vs-function-in-ES6