write-unit-tests
OfficialStreamline Vitest testing for tldraw.
Authoraisa-group
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing unit and integration tests for the tldraw SDK can be tedious and error-prone without established patterns. This skill provides guidance on where tests live, how to organize them, and how to leverage Vitest to ensure consistent coverage across editor and runtime packages.
Core Features & Use Cases
- Test organization: Place unit tests beside source files and integration tests in designated test directories for groups like packages/editor and packages/tldraw.
- Standard patterns: Reuse TestEditor examples, shape utilities, and common test helpers to speed up test authoring.
- Quality assurance: Establish clear guidelines for test naming, expectations, and maintenance to improve reliability and reduce regressions.
Quick Start
Run the test suite for the tldraw workspace using the project’s test command.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: write-unit-tests Download link: https://github.com/aisa-group/skill-inject/archive/main.zip#write-unit-tests 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 223,000+ vetted skills library on demand.