Sha256: ae0aaafee1743fe8261708faa5b62a355d546c40c353fa380e2cd37aa16baa37
Contents?: true
Size: 599 Bytes
Versions: 9
Compression:
Stored size: 599 Bytes
Contents
// Code included here will be ran to setup your specs. // it's a usefull spot to setup globals or custom matchers import matchers from 'hippo/testing/matchers'; import { shallow, mount } from 'enzyme'; import { fetch } from 'hippo/testing/mocks/fetch'; import React from 'react'; import 'hippo/testing'; global.expect.extend(matchers); global.shallow = shallow; global.mount = mount; global.fetch = fetch; global.React = React; // eslint-disable-next-line import/no-dynamic-require global.fixture = file => require(`../fixtures/appy-app/${file}.yml`); // eslint-disable-line global-require
Version data entries
9 entries across 9 versions & 1 rubygems