JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Testing TypeScript

Last modified: 31 July 2024

Starting with version 20, Node.js comes shipped with a stable version of the built-in Node.js test runner. JetBrains Rider supports integration with the built-in test runner, so you can run your tests without installing and configuring any third-party frameworks.

JetBrains Rider provides out-of-the-box configuration for the ts-node and tsx loaders, so you can run and debug your TypeScript tests without previously compiling them into JavaScript. Alternatively, you can install a custom loader and configure it as described in Create a Node.js Test Runner run/debug configuration.

You can run and debug tests right from the editor or launch a run/debug configuration of the type Node.js Test Runner.