Socket
Socket
Sign inDemoInstall

react-redux-jest-kit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-redux-jest-kit - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

0

__test__/actions.test.js

@@ -0,0 +0,0 @@ import { count, filterTable } from '../src/actions/index'

@@ -0,0 +0,0 @@ import reducers from '../src/reducers';

2

package.json
{
"name": "react-redux-jest-kit",
"version": "1.0.3",
"version": "1.0.4",
"description": "StarterKit with react, redux, eslint, webpack and jest.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,10 @@ import React from 'react';

const store = configureStore();
const initialState = {
order: [],
counter: 0,
filter: ''
};
const store = configureStore(initialState);
// create order

@@ -11,0 +18,0 @@ store.dispatch(createOrder());

@@ -10,10 +10,4 @@ import createHistory from 'history/createBrowserHistory';

const initialState = {
order: [],
counter: 0,
filter: ''
};
export function configureStore() {
return createStore(
export function configureStore(initialState) {
const store = createStore(
rootReducer,

@@ -25,2 +19,10 @@ initialState,

);
if(module.hot) {
module.hot.accept('../reducers', () =>
store.replaceReducer(require('../reducers').default)
);
}
return store;
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc