Sha256: 78f417151c4247ccb79f37d9fc3d3b1679a9c84366b37abc20500385ab6eac97

Contents?: true

Size: 477 Bytes

Versions: 5

Compression:

Stored size: 477 Bytes

Contents

// Code included here will be ran to setup your specs.
// it's a usefull spot to setup globals or custom matchers
require('hippo/testing');
const matchers = require('hippo/testing/matchers');
const { shallow, mount } = require('enzyme');
const log = require('loglevel');

log.setLevel(log.levels.WARN);

global.expect.extend(matchers);

global.shallow = shallow;
global.mount   = mount;
global.fetch   = require('hippo/testing/mocks/fetch');
global.React   = require('react');

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hippo-fw-0.9.9 spec/client/setup.js
hippo-fw-0.9.8 spec/client/setup.js
hippo-fw-0.9.7 spec/client/setup.js
hippo-fw-0.9.6 spec/client/setup.js
hippo-fw-0.9.5 spec/client/setup.js