Skip to content

Node.js Test Runner

Enabled

This plugin is enabled when any script in package.json includes node --test

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"node-test-runner": {
"entry": [
"**/*{.,-,_}test.?(c|m)js",
"**/test-*.?(c|m)js",
"**/test.?(c|m)js",
"**/test/**/*.?(c|m)js"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details about plugins and their entry and config options.

Generated from source

This page was generated from the node-test-runner plugin source code.

ISC License © 2024 Lars Kappert