redux-testkit
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -21,3 +21,3 @@ Object.defineProperty(exports,"__esModule",{value:true});exports.ReducerTest=undefined;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();var _lodash=require('lodash');var _lodash2=_interopRequireDefault(_lodash);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}var | ||
state=param.state,action=param.action,expected=param.expected; | ||
state=state?state:_lodash2.default.cloneDeep(_this.initialState); | ||
state=state?state:_this.initialState; | ||
@@ -24,0 +24,0 @@ var originalState=_lodash2.default.cloneDeep(state); |
{ | ||
"name": "redux-testkit", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Test kit for redux", | ||
@@ -5,0 +5,0 @@ "author": "Yedidya Kennard <yedidyak@gmail.com>", |
@@ -21,3 +21,3 @@ import _ from 'lodash'; | ||
let {state, action, expected} = param; | ||
state = state ? state : _.cloneDeep(this.initialState); | ||
state = state ? state : this.initialState; | ||
@@ -24,0 +24,0 @@ const originalState = _.cloneDeep(state); |
30417