Socket
Book a DemoInstallSign in
Socket

bi-service-test-utils

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bi-service-test-utils

Common initialization logic for integration testing

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source
  • 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
  • docker-compose@1.18

npm run docker:test

Keywords

bi-service

FAQs

Package last updated on 20 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts