typescript-testing
SolidTypeScript testing patterns with Vitest and MSW. Use when writing unit tests, mocking APIs, creating typed mocks for dependency injection, or using snapshot testing.
Install
Quality Score: 87/100
Skill Content
Details
- Author
- martinffx
- Repository
- martinffx/atelier
- Created
- 6 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
typescript-testing
TypeScript testing patterns with Jest/Vitest including unit tests, integration tests, mocking strategies, and coverage. Use when writing TypeScript tests.
typescript-testing
TypeScript and JavaScript testing patterns using Vitest (primary) and Jest. Activate this skill whenever you are writing or fixing tests in a TypeScript or JavaScript project, touching *.test.ts / *.spec.ts / *.test.tsx files, configuring vitest.config.ts or jest.config.ts, asking about mocking strategies (vi.fn, vi.mock, MSW), debugging flaky async tests, or wiring up coverage thresholds. Also activates when test output shows "floating promise", "timeout", or "cannot find module" in a test context. For TDD methodology and the coverage policy, see tdd-workflow.
javascript-testing-patterns
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.