An important thing to know about testing with NestJS is that much of it depends on decoupling injected dependencies.
- Here is a place for better understanding and examples.
- This video explains the basic concepts and has examples.
Basic tests
yarn test
End-to-end / endpoint tests
yarn test:e2e