SKILL

ts-testing

Use when writing or configuring TypeScript tests and choosing between bun test and Vitest. Not for framework-specific testing (React → react-testing).

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • TypeScript Testing
  • Agent Workflow (MANDATORY)
  • Overview
  • Critical Rules
  • Decision Guide
  • Reference Guide
  • Concepts
  • Templates

This skill covers choosing between bun test (fastest cold start, zero-config TS/JSX, experimental coverage) and Vitest (V8/Istanbul coverage, multi-worker CI scaling, browser mode via Playwright) via a decision matrix by project shape, then configuring the chosen runner's shared Jest-like API — describe/it/expect, lifecycle hooks, mocks, and snapshots. It also covers coverage thresholds, deterministic test isolation, and the rule to never mix bun:test and vitest imports in one package, or run bun test when the configured runner is actually Vitest. Out of scope: framework-specific testing (React components → react-expert's react-testing, Laravel → laravel-testing) and browser E2E suites are not covered. Pick the right runner, then write tests with a shared Jest-compatible API. Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name: 1. fuse-ai-pilot:explore-codebase - Detect existing runner, config, test layout 2. fuse-ai-pilot:research-expert - Verify latest bun test / Vitest docs via Context7/Exa 3. mcpcontext7query-docs - Check mock, coverage, config APIs After implementation, run fuse-ai-pilot:sniper for validation. -- Both runners share a Jest-lik

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
Fusengine/claude-plugins
Source file
plugins/typescript-expert/skills/ts-testing/SKILL.md
Fixed revision
b9f82810cf3b5e3c4350332ac3ef618d60163cc0
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Fusengine/claude-plugins · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T11:01:46.045Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.