midnight-cq:wallet-testing
OfficialWrite reliable Wallet SDK tests
Authordevrelaicom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developers need reliable, repeatable tests for custom Wallet SDK implementations and WalletBuilder compositions that interact with Effect-based services, Either-returning capabilities, and RxJS observable state; this Skill provides patterns and guardrails to avoid common pitfalls and flaky tests.
Core Features & Use Cases
- Effect/Either unwrapping patterns for asserting success and failure paths in async and pure capabilities.
- Observable state testing with first-value and multi-emission strategies to avoid races and memory leaks.
- WalletBuilder and test double setup including branded type fixtures, complete capability/service doubles, and Layer-based service provisioning for unit and integration tests.
- Use Case: Create Vitest suites that start a test WalletBuilder variant, mock proving/submission services, assert state transitions, and clean up subscriptions per test.
Quick Start
Ask the assistant to generate Vitest tests that unwrap Effects, assert observable emissions, and wire WalletBuilder with test doubles for your custom wallet variant.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: midnight-cq:wallet-testing Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#midnight-cq-wallet-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.