- https://nodejs.org/api/test.html
- https://nodejs.org/api/assert.html
- https://github.com/SimoneGianni/tsMatchers
Run tests:
npm testWatch:
npx tsx --test --watch **/*.spec.tsI made a video recording of building this repo, but the microphone dropped out in the middle, so here are the first 10 minutes, which nevertheless shows how to set up testing for a Node.js project from scratch with TypeScript, the Node.js test runner and assertion library.