Sha256: c6076511191d27accfe4cbe668712f5b4c58085283f8713931a977fac0e5209c

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

import 'core-js/shim';
import 'regenerator-runtime/runtime';

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: { '': {} } } } };

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_snapshot_management-4.0.0 webpack/test_setup.js
foreman_snapshot_management-3.0.1 webpack/test_setup.js