Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 506 Bytes

Testing.md

File metadata and controls

22 lines (14 loc) · 506 Bytes

Testing

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.

Tests expect a .env.test file.


Basic tests

yarn test

End-to-end / endpoint tests

yarn test:e2e