tests-unit-renderer

Official

Deterministic unit tests for renderer logic.

AuthorESPlotter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guides how to design, implement, and validate high-value unit tests for renderer pure logic (stores, selectors, mappers, and utility flows) with strict no-DOM boundaries and deterministic contract assertions.

Core Features & Use Cases

  • Establishes a standard structure for unit tests targeting renderer logic (state, derivations, and data mapping) without UI rendering.
  • Defines minimum coverage, test doubles, and deterministic fixtures to keep tests fast and reliable.
  • Use case: validating that renderer selectors compute derived state correctly without touching the DOM.

Quick Start

Run npm run test:unit:renderer to execute the standardized renderer unit tests.

Dependency Matrix

Required Modules

None required

Components

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: tests-unit-renderer
Download link: https://github.com/ESPlotter/ESPlotter/archive/main.zip#tests-unit-renderer

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 223,000+ vetted skills library on demand.