block-testing
OfficialStandardize Jest tests for EDS blocks.
Software Engineering#javascript#jest#mocking#unit-testing#eds-blocks#test-automation#testing-patterns
Authoraramark-destinations
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Testing guidance for EDS blocks to bootstrap reliable unit tests, including keeper vs throwaway tests and mocks for common utilities.
Core Features & Use Cases
- Bootstrap Test Infrastructure with Jest and Babel config
- Keeper vs Throwaway tests guidance and practical patterns
- Mock patterns for aem.js, scripts.js, and analytics
- Co-located tests in blocks/{name} for maintainable structure
Quick Start
Run the Jest test suite for this block by executing pnpm test in the project root.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: block-testing Download link: https://github.com/aramark-destinations/aramark-mb/archive/main.zip#block-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.