UNPKG

@mhy/config

Version:

> This documentation is not complete. It's in progress and it's a BETA version. Use the tool at your own risk.

15 lines (12 loc) 378 B
import 'babel-polyfill' import Enzyme, { shallow, render, mount } from 'enzyme' import 'jest-enzyme' import Adapter from 'enzyme-adapter-react-16' import 'jest-canvas-mock' import 'jest-styled-components' import fetch from 'jest-fetch-mock' Enzyme.configure({ adapter: new Adapter() }) global.shallow = shallow global.render = render global.mount = mount global.fetch = fetch