Hi carlo L Medina.

Thanks a lot for your response. Yes, for sure it is possible to provide an article about testing in Nest.

Generally, you can use Nest’s test utilities in combination with the TestingModule and the providers to mock your dependencies. This approach is the same as in Angular.

https://docs.nestjs.com/fundamentals/custom-providers

Besides that, you can use Jests testing utilities.

https://jestjs.io/docs/en/getting-started

It would be great if you can tell me which things you miss in the docs and which things are unclear.

Written by

Passionate freelance frontend engineer. ❤️ Always eager to learn, share and expand knowledge.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store