UNPKG

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