For anyone that is inter…

less than 1 minute read

For anyone that is interested and is using Nestjs, I put together a small package to help with auto mocking providers in jest tests inspired by Spectator in Angular, very simple usage and helps keep tests clean with auto mocking and spying on whatever providers you want.

Looking for feedback, we are currently working on implementing it into our own flow and will possibly make our schematic being written by open source for generating spec files for nestjs providers during generation.

https://www.npmjs.com/package/nest-spectator npm: nest-spectator

Updated: