J
javascript-testing-patterns
by @sickn33v1.0.0
4.0(0)
运用Jest、Vitest、Testing Library实现全面测试策略。
安装方式
npx skills add sickn33/antigravity-awesome-skills --skill javascript-testing-patternscompare_arrows
Before / After 效果对比
1 组使用前
缺乏全面的JavaScript测试策略会导致代码质量不稳定,缺陷难以发现。开发者在选择测试框架、编写测试用例和维护测试套件时常感困惑,影响项目可靠性。
使用后
现在,通过使用Jest、Vitest和Testing Library等工具,可以实施全面的JavaScript测试策略。这确保了代码的健壮性和可靠性,显著提升了开发效率和产品质量。
description SKILL.md
name: javascript-testing-patterns description: "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..." risk: unknown source: community date_added: "2026-02-27"
JavaScript Testing Patterns
Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications using modern testing frameworks and best practices.
Use this skill when
- Setting up test infrastructure for new projects
- Writing unit tests for functions and classes
- Creating integration tests for APIs and services
- Implementing end-to-end tests for user flows
- Mocking external dependencies and APIs
- Testing React, Vue, or other frontend components
- Implementing test-driven development (TDD)
- Setting up continuous testing in CI/CD pipelines
Do not use this skill when
- The task is unrelated to javascript testing patterns
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
forum用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价,来写第一条吧
统计数据
安装量4.9K
评分4.0 / 5.0
版本1.0.0
更新日期2026年3月16日
对比案例1 组
用户评分
4.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%
为此 Skill 评分
0.0
兼容平台
🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI
时间线
创建2026年3月16日
最后更新2026年3月16日