jest-fundamentals
Jest Fundamentals
Master Jest configuration, test structure, assertions, and lifecycle hooks for JavaScript and TypeScript projects.
Jest Configuration
Create jest.config.js or jest.config.ts at project root:
// jest.config.js
module.exports = {
preset: 'ts-jest', // Use ts-jest for TypeScript
testEnvironment: 'node', // 'node' for backend, 'jsdom' for frontend
roots: ['<rootDir>/src'],
testMatch: [
'**/__tests__/**/*.ts',
'**/?(*.)+(spec|test).ts'
],
collectCoverageFrom: [
More from karchtho/my-claude-marketplace
ui-ux-design
UI/UX design principles, design systems, accessibility, responsive design, and user experience best practices. Activates when discussing layouts, styling, design decisions, user flows, or visual design.
12nginx-configuration
Configure Nginx web server for high-performance reverse proxy, load balancing, SSL/TLS, caching, and API gateway functionality. Master production deployments, security headers, and monitoring.
11docker-compose-creator
Design multi-container applications with Docker Compose. Covers service orchestration, networking, volumes, environment configuration, health checks, and production deployment patterns. Use when defining local development stacks or deploying multi-service applications.
10dockerfile-generator
Generate production-ready Dockerfiles with best practices for various tech stacks. Covers multi-stage builds, optimization, security, and language-specific patterns (Node.js, Python, Go, Rust, Java). Use when creating new application containers.
8docker-container-basics
Docker containerization fundamentals. Master container lifecycle, image management, networking, volumes, resource limits, and production deployment patterns. Use when building, running, debugging containers or implementing container orchestration.
8feature-architect
Design game feature architecture before writing code. Use when planning a new feature system, deciding on component structure, or mapping out how a feature integrates with existing systems.
6