Files
cats.service.spec.tsread-only
Read-only: these tests are the lesson's contract. Make them pass by changing the code they test.
What you'll learn
- Read a failing test as a specification and implement the smallest code that satisfies it
- Keep unit and e2e specs in step: the service's contract in one, the route's in the other
- Take the workflow home: how Jest, the Nest CLI's spec files and npm test relate to what ran here
Press Run tests to start the app. Its log appears here.Tests
- cats/cats.service.spec.tsrun to see its tests
- test/cats.e2e-spec.tsrun to see its tests