LogoClawIndex
CasesSkillsAbout
LogoClawIndex

javascript-testing-patterns - JavaScript and TypeScript Testing Patterns

Provides patterns for unit, integration, and end-to-end testing with Jest, Vitest, Testing Library, mocking, fixtures, and TDD workflows.

Tags

Updated: 2026-09-29

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Set up test infrastructure
  • Write unit tests
  • Create integration tests
  • Implement end-to-end tests
  • Mock external dependencies
  • Test frontend components
  • Apply test-driven development
  • Configure continuous testing

Inputs

  • JavaScript or TypeScript source code
  • Test requirements
  • Project configuration
  • External dependencies
  • API interfaces

Outputs

  • Test files
  • Test infrastructure configuration
  • Mock implementations
  • Test execution results
  • Coverage reports
  • CI/CD test configuration

Requirements

  • JavaScript or TypeScript project
  • Jest or Vitest support
  • Testing Library support when needed
  • Permission to modify project files

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
JavaScript
TypeScript
testing
Jest
Vitest
Testing Library
unit testing
integration testing
end-to-end testing
mocking
TDD
CI/CD
Set up test infrastructure
Write unit tests
Create integration tests
Implement end-to-end tests
JavaScript or TypeScript source code
Test requirements
Project configuration
Test files
Test infrastructure configuration
Mock implementations