spy-middleware
JSON →spy-middleware is a Redux middleware for spying on dispatched actions in tests. Version 1.2.2 is the latest stable release. It provides methods to retrieve dispatched actions, query for specific actions, and await actions that have been dispatched or will be dispatched. Unlike simple action loggers, it supports promise-based waiting for actions (until/untilNext), which integrates well with async test patterns. Ideal for integration testing of Redux stores where you need to assert on action sequences or wait for asynchronous side effects.
Traffic · last 30 days ↓50% vs prev 7d
total hits 16
actors 6 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany
API endpoints
full doc /v1/registry/spy-middleware
compatibility /v1/registry/spy-middleware/compatibility