Tests with node --test
Tests with node --test: Your First Tests with node --test.
Updated
- Your First Tests with node --test (Apprentice): A test is a few lines of code that run your code and check its answer, and Node's built-in test runner, node --test, runs every test file and reports what passed and what didn't.