{"library":"spy-middleware","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.2.2","tags":["javascript","redux","middleware","createStore","spy","testing","applyMiddleware"],"install":[{"cmd":"npm install spy-middleware","imports":["import makeSpyMiddleware from 'spy-middleware'","import makeSpyMiddleware from 'spy-middleware'","const spyMiddleware = makeSpyMiddleware(); spyMiddleware.getActions(); spyMiddleware.untilNext(); etc."]},{"cmd":"yarn add spy-middleware","imports":[]},{"cmd":"pnpm add spy-middleware","imports":[]}],"homepage":null,"github":"https://github.com/drpicox/spy-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/spy-middleware","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/spy-middleware/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}