Sha256: 46f40418eb9ab0817840ace5829fbd69907235eb4935c1a03e7aefc4183fcb3a

Contents?: true

Size: 472 Bytes

Versions: 105

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

105 entries across 105 versions & 7 rubygems

Version Path
katello-3.18.0.rc1 webpack/global_test_setup.js
katello-3.17.0.rc2.2 webpack/global_test_setup.js
katello-3.17.0.rc2.1 webpack/global_test_setup.js
katello-3.17.0.rc2 webpack/global_test_setup.js
katello-3.17.0.rc1 webpack/global_test_setup.js