reduxjs / redux-mock-store

A mock store for testing Redux async action creators and middleware.
MIT License
2.5k stars 148 forks source link

refactor(lib): remove lodash #172

Closed danielsogl closed 2 years ago

danielsogl commented 4 years ago

This PR removes the lodash dependency and replaces the used function with plain javascript.

obsd commented 4 years ago

Greate PR it also solves issue with lodash getPlainObject that doesn't support TS

zaidchauhan commented 4 years ago

This is already updated in one of the fork - https://github.com/jedmao/redux-mock-store/blob/master/src/utils.ts

zaidchauhan commented 4 years ago

Isn't it good to cover these function with unit tests. You may copy from this PR (in one of the fork) - https://github.com/jedmao/redux-mock-store/pull/45/files