1 | /* eslint-disable import/first */
|
2 | jest.mock('react-dom');
|
3 | import { createPortal } from 'react-dom';
|
4 | import initstoryshots from '@storybook/addon-storyshots';
|
5 | /* eslint-enable import/first */
|
6 |
|
7 | createPortal.mockImplementation(children => children);
|
8 |
|
9 | initstoryshots();
|