{"library":"redux-test-utils","type":"library","category":null,"description":"redux-test-utils provides a focused set of utilities designed to simplify the testing of Redux-connected components and logic. It offers `createMockStore` and `createMockDispatch` functions, which produce mock objects that mimic the behavior of a Redux store and dispatch function, respectively. These mocks capture dispatched actions, allowing developers to easily assert against action types, payloads, and dispatch order using intuitive methods like `getAction`, `getActions`, `isActionDispatched`, and `isActionTypeDispatched`. The library is currently at version 1.0.2, with its 1.0.0 release marking a complete rewrite in TypeScript, enhancing type safety and developer experience. While there isn't a strict release cadence, updates address compatibility and improvements. Its key differentiator lies in its Redux-specific API, which offers a more streamlined and less verbose testing approach compared to general-purpose mocking libraries for Redux scenarios.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","dispatch","redux","store","test","typescript"],"install":[{"cmd":"npm install redux-test-utils","imports":["import { createMockStore } from 'redux-test-utils';","import { createMockDispatch } from 'redux-test-utils';","import type { MockStore } from 'redux-test-utils';"]},{"cmd":"yarn add redux-test-utils","imports":[]},{"cmd":"pnpm add redux-test-utils","imports":[]}],"homepage":null,"github":"https://github.com/Knegusen/redux-test-utils","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/redux-test-utils","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/redux-test-utils/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}