tests-unit-preload

Official

Standardized unit tests for Electron preload IPC.

AuthorESPlotter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Preload testing for Electron apps is error-prone without a standardized contract; this Skill defines a reusable blueprint to validate preload bridges, IPC delegation, and renderer exposure with deterministic collaborator doubles.

Core Features & Use Cases

  • Consolidated contract-driven testing for preload exposures, wrappers around ipcRendererInvoke, and contextBridge bindings.
  • Deterministic mocks and fixtures that isolate the Electron runtime and prevent DOM or renderer side effects.
  • Clear file-layout and naming conventions for scalable, repeatable tests across multiple preload namespaces.

Quick Start

Run npm run test:unit:preload to execute the preload contract 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-preload
Download link: https://github.com/ESPlotter/ESPlotter/archive/main.zip#tests-unit-preload

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.