typescript-testing-backend

Official

Test TypeScript backends with Jest and real DB.

AuthorLazyIsEfficient
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TypeScript backend testing often requires balancing unit tests with mocked Prisma and real database integration, coordinating test data, and keeping tests co-located with source code. This skill provides a structured approach to writing and reviewing Jest-based tests for services and controllers, plus integration tests against an isolated PostgreSQL instance.

Core Features & Use Cases

  • Unit testing of services and controllers with mocked Prisma
  • Integration testing against an isolated PostgreSQL database using Supertest patterns
  • Co-located tests structure with shared test utilities and seed data guidance

Quick Start

Run Jest unit tests for services and controllers locally and validate integration tests against a real isolated PostgreSQL database.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: typescript-testing-backend
Download link: https://github.com/LazyIsEfficient/agentic-os/archive/main.zip#typescript-testing-backend

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.