Lesson 11 of 14 · Quality and production
Automated tests with node:test and assert
Objective
Check automatically, in a few seconds, that the API still works after each change: test the business functions (delivery fees), their edge cases and their errors, then the HTTP API itself, with the tools built into Node, without any dependency.
This lesson is part of the full course
Unlock Node.js: Build and Ship an API to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.