Examples on how to write tests in NodeJS for module testing, database testing, API requests and headless browser testing.