@flowcore/testing-microservice
v1.1.0
Published
Testing library for facilitating tests for the @flowcore/microservice modules
Downloads
11
Readme
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-microserviceor yarn:
yarn add @jbiskur/nestjs-test-utilities @flowcore/testing-microservice -DUsage
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 installor with npm:
npm install