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
katello-4.2.0.rc2 webpack/global_test_setup.js
katello-4.1.3 webpack/global_test_setup.js
katello-4.2.0.rc1 webpack/global_test_setup.js
katello-4.0.2.1 webpack/global_test_setup.js
katello-4.1.2.1 webpack/global_test_setup.js
katello-4.0.2 webpack/global_test_setup.js
katello-4.1.2 webpack/global_test_setup.js
katello-3.18.4 webpack/global_test_setup.js
foreman_snapshot_management-2.0.1 webpack/global_test_setup.js
katello-4.1.1 webpack/global_test_setup.js
katello-4.1.0 webpack/global_test_setup.js
katello-4.0.1.2 webpack/global_test_setup.js
katello-3.18.3.1 webpack/global_test_setup.js
katello-4.1.0.rc2.2 webpack/global_test_setup.js
katello-4.1.0.rc2.1 webpack/global_test_setup.js
katello-4.0.1.1 webpack/global_test_setup.js
katello-3.18.3 webpack/global_test_setup.js
katello-4.1.0.rc2 webpack/global_test_setup.js
katello-4.0.1 webpack/global_test_setup.js
katello-4.1.0.rc1.1 webpack/global_test_setup.js