Sha256: 46f40418eb9ab0817840ace5829fbd69907235eb4935c1a03e7aefc4183fcb3a

Contents?: true

Size: 472 Bytes

Versions: 103

Compression:

Stored size: 472 Bytes

Contents

// runs before each test to make sure console.error output will
// fail a test (i.e. default PropType missing). Check the error
// output and traceback for actual error.
global.console.error = (error, stack) => {
  /* eslint-disable-next-line no-console */
  if (stack) console.log(stack); // Prints out original stack trace
  throw new Error(error);
};

// Increase jest timeout as some tests using multiple http mocks can time out on CI systems.
jest.setTimeout(10000);

Version data entries

103 entries across 103 versions & 7 rubygems

Version Path
foreman_bootdisk-19.0.5 webpack/global_test_setup.js
foreman_google-0.0.1 webpack/global_test_setup.js
foreman_host_reports-1.0.2 webpack/global_test_setup.js
foreman_bootdisk-19.0.4 webpack/global_test_setup.js
foreman_host_reports-1.0.1 webpack/global_test_setup.js
foreman_host_reports-1.0.0 webpack/global_test_setup.js
katello-4.2.2 webpack/global_test_setup.js
foreman_bootdisk-19.0.3 webpack/global_test_setup.js
foreman_bootdisk-19.0.2 webpack/global_test_setup.js
foreman_bootdisk-19.0.1 webpack/global_test_setup.js
foreman_bootdisk-19.0.0 webpack/global_test_setup.js
katello-4.2.1 webpack/global_test_setup.js
foreman_host_reports-0.0.4 webpack/global_test_setup.js
foreman_host_reports-0.0.3 webpack/global_test_setup.js
katello-4.2.0.1 webpack/global_test_setup.js
katello-4.1.4 webpack/global_test_setup.js
katello-4.0.3 webpack/global_test_setup.js
katello-4.2.0.1.rc3 webpack/global_test_setup.js
katello-3.18.5 webpack/global_test_setup.js
katello-4.2.0.1.rc2 webpack/global_test_setup.js