@r2d2bzh/moleculer-test-utils

0.0.5 • Public • Published

@r2d2bzh/moleculer-test-utils

This repository aims to provide some useful functions for testing moleculer actions. Here is the list of functions exposed by this library:

  • runMongo: Connect to mongo server
    • namespace: Namespace in the connection string
    • hostname: Host name of the mongo server
  • runBroker: Start moleculer broker on a given namespace and wait for moleculer services to start
    • services: list of moleculer services attached to the broker
    • namespace: Namespace of the moleculer broker

Readme

Keywords

none

Package Sidebar

Install

npm i @r2d2bzh/moleculer-test-utils

Weekly Downloads

14

Version

0.0.5

License

ISC

Unpacked Size

2.4 kB

Total Files

5

Last publish

Collaborators

  • radiced
  • furanzujin
  • severine29
  • vivien-lelouette
  • r2d2-bzh
  • gautaz
  • flov22