Sha256: 1dc3d2602de98e9a5441248d3bbff7b78d4b671f04185fb70b18eb1924c58132

Contents?: true

Size: 596 Bytes

Versions: 29

Compression:

Stored size: 596 Bytes

Contents

import 'core-js/shim';
import 'regenerator-runtime/runtime';
import MutationObserver from '@sheerun/mutationobserver-shim';

import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';

configure({ adapter: new Adapter() });

// Mocking translation function
global.__ = text => text; // eslint-disable-line

// Mocking locales to prevent unnecessary fallback messages
window.locales = { en: { domain: 'app', locale_data: { app: { '': {} } } } };

// see https://github.com/testing-library/dom-testing-library/releases/tag/v7.0.0
window.MutationObserver = MutationObserver;

Version data entries

29 entries across 29 versions & 6 rubygems

Version Path
foreman_resource_quota-0.3.1 webpack/test_setup.js
foreman_resource_quota-0.3.0 webpack/test_setup.js
foreman_google-3.0.2 webpack/test_setup.js
foreman_google-3.0.1 webpack/test_setup.js
foreman_google-3.0.0 webpack/test_setup.js
foreman_resource_quota-0.2.0 webpack/test_setup.js
foreman_resource_quota-0.1.0 webpack/test_setup.js
foreman_google-2.0.1 webpack/test_setup.js
foreman_hdm-1.0.0 webpack/test_setup.js
foreman_snapshot_management-3.0.0 webpack/test_setup.js
foreman_google-2.0.0 webpack/test_setup.js
foreman_hdm-0.1.4 webpack/test_setup.js
foreman_hdm-0.1.3 webpack/test_setup.js
foreman_hdm-0.1.2 webpack/test_setup.js
foreman_hdm-0.1.1 webpack/test_setup.js
foreman_hdm-0.1.0 webpack/test_setup.js
foreman_google-1.0.4 webpack/test_setup.js
foreman_snapshot_management-2.0.3 webpack/test_setup.js
foreman_google-1.0.3 webpack/test_setup.js
foreman_google-1.0.2 webpack/test_setup.js