Gathering detailed insights and metrics for redux-mock-store-jest
Gathering detailed insights and metrics for redux-mock-store-jest
Gathering detailed insights and metrics for redux-mock-store-jest
Gathering detailed insights and metrics for redux-mock-store-jest
A mock store for testing Redux async action creators and middleware.
npm install redux-mock-store-jest
Typescript
Module System
Node Version
NPM Version
77.4
Supply Chain
75.3
Quality
75
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
839,268
Last Day
149
Last Week
3,134
Last Month
6,808
Last Year
50,880
MIT License
2,502 Stars
140 Commits
149 Forks
19 Watchers
4 Branches
39 Contributors
Updated on Jul 03, 2025
Minified
Minified + Gzipped
Latest Version
0.0.2
Package Id
redux-mock-store-jest@0.0.2
Size
2.53 kB
NPM Version
2.12.1
Node Version
2.3.4
Cumulative downloads
Total Downloads
Last Day
24.2%
149
Compared to previous day
Last Week
1.2%
3,134
Compared to previous week
Last Month
301.2%
6,808
Compared to previous month
Last Year
-89.9%
50,880
Compared to previous year
A mock store for your testing your redux async action creators and middleware
npm install redux-mock-store --save-dev
1 2// actions.test.js 3 4import configureStore from 'redux-mock-store'; 5 6const middlewares = []; // add your middlewares like `redux-thunk` 7const mockStore = configureStore(middlewares); 8 9// Test in mocha 10it('should dispatch action', (done) => { 11 const getState = {}; // initial state of the store 12 const action = { type: 'ADD_TODO' }; 13 const expectedActions = [action]; 14 15 const store = mockStore(getState, expectedActions, done); 16 store.dispatch(action); 17})
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 10/18 approved changesets -- score normalized to 5
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
58 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More