Unit testing for TypeScript/NestJS projects using Jest, @golevelup/ts-jest (DeepMocked/createMock), and in-memory databases, with AAA structure. Use whenever…
Unit Testing Skill Unit testing validates individual functions, methods, and classes in isolation by mocking all external dependencies. Workflows For guided, step-by-step execution of unit testing tasks, use the appropriate workflow: Workflow Purpose When to Use Setup Initialize test infrastructure New project or missing test setup Writing Write new unit tests Creating tests for components Reviewing Review existing tests Code review, quality audit Running Execute tests Running tests, analyzing results Debugging Fix failing tests Tests failing, need diagnosis Optimizing Improve test performance Slow tests, maintainability
don't have the plugin yet? install it then click "run inline in claude" again.