bi-service-test-utils
v1.1.0
Published
Common initialization logic for integration testing
Downloads
2
Readme
- Loads a bi-service based service (from service entry point, usually
index.js
). - Makes sure tests are executed against empty database with restricted db name
- Runs service db migrations before executing tests
- Cleans up after itself after tests execution
require('bi-service-test-utils')('<service-entrypoint-file-path>');
Tests
Requires:
docker
[email protected]
npm run docker:test