marketplace/bundles/pm-dev-frontend/skills/jest-testing/SKILL.md
JavaScript unit testing standards covering Jest framework, DOM and web component testing, mocking patterns, async testing, and coverage configuration
npx skillsauth add cuioss/plan-marshall jest-testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Unit testing standards for JavaScript projects using Jest, covering test structure, DOM interaction, web component testing, mocking, async patterns, and coverage.
setTimeout waits in testsLoad this standard for any JavaScript test work.
Read: standards/test-fundamentals.md
Covers framework setup, test structure, naming, AAA pattern, parameterized tests, coverage configuration, and ESLint integration for tests.
DOM and Component Testing (load for UI/component tests):
Read: standards/dom-component-testing.md
Use when: Testing DOM manipulation, web components (Lit/custom elements), Testing Library queries, container-based component testing, or accessibility assertions.
Mocking and Async Patterns (load for mocking or async code):
Read: standards/mocking-async.md
Use when: Mocking modules or APIs, working with fetch mocks, testing async/await code, controlling timers, or managing test isolation.
plan-marshall:dev-general-module-testing — Language-agnostic testing methodology (AAA, coverage, reliability)pm-dev-frontend:javascript — Core JavaScript development standardspm-dev-frontend:lint-config — ESLint configuration including Jest plugintools
Plan-marshall-domain implementor of the ext-self-review-{domain} extension point. Surfaces deterministic candidates (regexes, user-facing strings, markdown sections, symmetric-pair functions, flag-guard pairs, contract sources, schema-bearing files) for pre-submission structural self-review.
development
The single shared contract every untrusted-external-content ingestion surface loads — reader/orchestrator/writer isolation, the deterministic validator script as the containment boundary, and the output-schema discipline for candidate structs parsed from web pages, GitHub issue/PR/comment bodies, and Sonar issue messages
development
Domain-invariant recipe for deliberate wide-scope simplification campaigns across a scope x thoroughness cell, with a T4+ relation-graph pre-deliverable
testing
A test skill for README generation