test-loading-state
CommunityVerify Cubit isWaiting() with precise timing.
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Tests isWaiting() behavior in Cubits by using Completers to control asynchronous timing and verify loading states.
Core Features & Use Cases
- Demonstrates isWaiting() in various key contexts: type key, enum key, and composite key.
- Validates per-item loading states and independent operation tracking across multiple concurrent operations.
- Covers success and error paths to ensure loading indicators reset on completion or failure.
Quick Start
Run the unit tests that verify isWaiting() behavior using a mock API and Completers to control async timing.
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: test-loading-state Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#test-loading-state 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 223,000+ vetted skills library on demand.