nodejs_test
Run Node.js tests using Jest, Vitest, or Mocha with options for coverage, watch mode, and custom test patterns.
Instructions
Run Node.js tests with Jest, Vitest, or Mocha
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| watch | No | Run tests in watch mode | |
| timeout | No | Command timeout in milliseconds | |
| verbose | No | Enable verbose output | |
| coverage | No | Enable coverage reporting | |
| directory | No | Working directory | |
| testPattern | No | Test file pattern (e.g., "**/*.test.ts") | |
| testFramework | No | Test framework to use (auto-detected by default) |