typescript-testing
CommunityMaster TypeScript testing with NX & Vite.
Authormbailey
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the complex process of setting up, configuring, and troubleshooting TypeScript testing environments within NX monorepos using Vite/Vitest. It helps developers quickly resolve issues with test execution, coverage reporting, and configuration, saving significant debugging time.
Core Features & Use Cases
- Test Configuration Guidance: Provides best practices for
vite.config.tssetup, including coverage reporting. - Troubleshooting: Offers solutions for common problems like missing coverage files, failing tests, and NX execution issues.
- Workflow Optimization: Guides on running tests for single packages, all packages, or individual files, with parallelization control.
- Use Case: When your TypeScript project in an NX monorepo isn't generating test coverage reports correctly, use this skill to diagnose the issue, verify configurations, and ensure all necessary dependencies are installed, getting your CI/CD pipeline back on track.
Quick Start
Help me configure test coverage for my TypeScript library 'my-lib' in an NX monorepo using Vite/Vitest, ensuring the coverage report is generated correctly.
Dependency Matrix
Required Modules
@vitest/coverage-v8
Components
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: typescript-testing Download link: https://github.com/mbailey/claude/archive/main.zip#typescript-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.