{"library":"ts-node-test","type":"library","category":null,"description":"ts-node-test is a command-line interface (CLI) wrapper that enables the use of Node.js's native test runner (introduced in Node.js 18.7.0) with TypeScript files. It addresses a limitation in Node.js where the built-in test runner does not natively support custom file extensions for automatic test file discovery, requiring explicit file paths for `.ts` files. This package works by recursively searching specified directories for `.ts`, `.mts`, `.cts`, `.js`, `.mjs`, and `.cjs` files, then passing the discovered files to the Node.js test runner via `ts-node` for execution. The current stable version is 0.4.4, with releases occurring intermittently, focusing on bug fixes, dependency updates, and feature parity with newer Node.js test runner flags. Its primary differentiator is simplifying the setup for TypeScript projects wanting to leverage Node.js's native testing capabilities without complex build steps or manual file listings.","language":"javascript","status":"active","version":"0.4.4","tags":["javascript","nodejs","test","test runner","testing","typescript","ts-node"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ts-node-test","imports":["npm i -D ts-node-test && npm test","TEST_EXTENSIONS=.test.ts,.spec.ts npm test","npm i -D ts-node-test && ts-node-test --watch --test-name-pattern='my_test' test/**/*.ts"]},{"cmd":"yarn add ts-node-test","imports":[]},{"cmd":"pnpm add ts-node-test","imports":[]}],"homepage":null,"github":"https://github.com/meyfa/ts-node-test","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ts-node-test","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ts-node-test/compatibility"}}