UNPKG

@jedmao/redux-mock-store

Version:

A mock store for testing your redux async action creators and middleware

12 lines (11 loc) 389 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function isFunction(value) { return 'function' === typeof value; } exports.isFunction = isFunction; function isPlainObject(value) { return (Object.prototype.toString.call(value) === '[object Object]' && Object.getPrototypeOf(value) === Object.prototype); } exports.isPlainObject = isPlainObject;