mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 19:44:21 +00:00
70a2b3ca9a
* Add disclaimer modal to footer * Remove duplicate code & unnecessary styles * Fix formatting noise * remove un-used css style * Fix tslint error & add media query for modals * Nest Media Query * Update Jest & Enzyme, Add snapshot tests * Fix tslint errors in /spec, Update mock localstorage * Update types in tests, Fix tslint error * Specify module versions for browser * Update sendTransaction snapshot
11 lines
198 B
TypeScript
11 lines
198 B
TypeScript
import { shallow } from 'enzyme';
|
|
|
|
const shallowWithStore = (component, store) => {
|
|
const context = {
|
|
store
|
|
};
|
|
return shallow(component, { context });
|
|
};
|
|
|
|
export default shallowWithStore;
|