redux-action-asserter
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -61,3 +61,3 @@ 'use strict'; | ||
for (var key in dispatchedAction) { | ||
if (dispatchedAction.hasOwnProperty(key)) { | ||
if (dispatchedAction.hasOwnProperty(key) && action.hasOwnProperty(key)) { | ||
if (!(0, _isEqual2.default)(dispatchedAction[key], action[key])) { | ||
@@ -64,0 +64,0 @@ return false; |
@@ -31,3 +31,3 @@ import isEqual from 'lodash/isEqual' | ||
for (const key in dispatchedAction) { | ||
if (dispatchedAction.hasOwnProperty(key)) { | ||
if (dispatchedAction.hasOwnProperty(key) && action.hasOwnProperty(key)) { | ||
if (!isEqual(dispatchedAction[key], action[key])) { | ||
@@ -34,0 +34,0 @@ return false |
{ | ||
"name": "redux-action-asserter", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"main": "dist/main.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
9266