Skip to content

Node's in-built test runner

Posted on:February 21, 2024

Today’s tech tip

Node.js has an in-built test runner! I’ve used it on few smaller projects and it’s been great. Not having to install yet another dependency is always a relief. Plus, it’s guaranteed not to have any horrific clashes with ECMAScript modules (like Jest). Saying that, it has a very Jest-like syntax, which should be very familiar. If you’re working on a Node.js project, definitely consider giving it a spin.

A screenshot of a javascript code snippet showing an example of using the node.js test runner

Resources: