spy-middleware

JSON →
library 1.2.2 ·javascript
verified May 27, 2026

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.

total hits 16
actors 6 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
MetaBot
3
Script
1
ClaudeBot
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany