LogoClawIndex
CasesSkillsAbout
LogoClawIndex

testing-best-practices - Testing Best Practices for Node.js and Express

Provides guidance for testing Node.js and Express applications with Jest, Supertest, mocking, test organization, coverage, CI/CD, and TDD.

Tags

Updated: 2026-11-08
Node.js testingExpress testingJestSupertestAPI testingMockingTest coverageTDDCI/CD

Capabilities

Configure Jest testingTest Express APIsOrganize test filesMock external APIs

Typical Inputs

Node.js application source codeExpress application source codeAPI endpoint requirements

Typical Outputs

Jest configurationTest filesMock implementations

What this skill does

  • Configure Jest testing
  • Test Express APIs
  • Organize test files
  • Mock external APIs
  • Mock database operations
  • Test authentication flows
  • Handle proxy errors
  • Measure code coverage
  • Integrate tests with CI/CD
  • Apply TDD practices

Inputs

  • Node.js application source code
  • Express application source code
  • API endpoint requirements
  • External API interfaces
  • Database interfaces
  • Test coverage requirements

Outputs

  • Jest configuration
  • Test files
  • Mock implementations
  • API test results
  • Coverage reports
  • CI/CD test configuration

Requirements

  • Node.js environment
  • Jest support
  • Supertest package
  • @types/jest package

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.