@flowcore/testing-microservice
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Build

Testing Microservice

Testing library for facilitating tests for the @flowcore/microservice modules

Installation

install with npm:

npm install --save-dev @jbiskur/nestjs-test-utilities @flowcore/testing-microservice

or yarn:

yarn add @jbiskur/nestjs-test-utilities @flowcore/testing-microservice -D

Usage

to use the library you can use it with the NestApplicationBuilder

import {LoggerModulePlugin} from "@flowcore/testing-microservice";

// .. when you initialize your test
app = await new NestApplicationBuilder()
  .withTestModule((testModule) => testModule.withModule(TestModule))
  .with(LoggerModulePlugin)
  .build();

Development

yarn install

or with npm:

npm install

Readme

Keywords

Package Sidebar

Install

npm i @flowcore/testing-microservice

Weekly Downloads

98

Version

1.1.0

License

MIT

Unpacked Size

149 kB

Total Files

15

Last publish

Collaborators

  • jbiskur