mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 11:34:26 +00:00
c340246ca0
* Progress commit * Update more types * Fix more types * Fix abi function types * Fix lib types * Fix rest of types * Address wbobeirne changes * Change origin and destination check
11 lines
208 B
TypeScript
11 lines
208 B
TypeScript
import { shallow } from 'enzyme';
|
|
|
|
const shallowWithStore = (component: any, store: any) => {
|
|
const context = {
|
|
store
|
|
};
|
|
return shallow(component, { context });
|
|
};
|
|
|
|
export default shallowWithStore;
|