/javascript-testing-patterns
用 Jest、Vitest 與 Testing Library 實作完整的測試策略,涵蓋單元測試、整合測試與端對端測試,含 mock、fixture 與 TDD。用於撰寫 JavaScript/TypeScript 測試或建立測試基礎設施。
- 安裝次數
- 2.1 萬
- 專案星數
- 4.2 萬 ★
- 授權
- MIT
- 專案更新
- 2026-11-02
怎麼裝
npx skills add https://github.com/wshobson/agents --skill javascript-testing-patterns安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。
原文
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.