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

Version Path
hippo-fw-0.9.9 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.8 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.7 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.6 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.5 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.4 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.3 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.2 command-reference-files/initial/spec/client/setup.js
hippo-fw-0.9.1 command-reference-files/initial/spec/client/setup.js