Test From Target

Generates or updates Mocha-style test suites (.test.ts) from a target class or method. Use when writing tests from controller/model/lib code, when the user asks to test a class or method, or when adding test coverage for a specific target. Assumes TypeScript, ESM, Mocha with tsx/cjs, source under src/, tests under test/.

marco-meini 5ab15d0 15.2 KB Updated

File contents

marco-meini/cursor/tree/main/skills/test-from-target commit 5ab15d061d

Frequently asked questions

npx skillmds@latest add marco-meini/test-from-target