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_google-3.0.2 webpack/global_test_setup.js
foreman_google-3.0.1 webpack/global_test_setup.js
foreman_snapshot_management-4.0.0 webpack/global_test_setup.js
foreman_acd-0.11.0 webpack/global_test_setup.js
foreman_bootdisk-22.0.2 webpack/global_test_setup.js
foreman_bootdisk-22.0.1 webpack/global_test_setup.js
foreman_acd-0.10.0 webpack/global_test_setup.js
foreman_google-3.0.0 webpack/global_test_setup.js
foreman_bootdisk-22.0.0 webpack/global_test_setup.js
foreman_bootdisk-21.0.6 webpack/global_test_setup.js
foreman_resource_quota-0.2.0 webpack/global_test_setup.js
foreman_resource_quota-0.1.0 webpack/global_test_setup.js
foreman_snapshot_management-3.0.1 webpack/global_test_setup.js
foreman_bootdisk-21.2.3 webpack/global_test_setup.js
foreman_google-2.0.1 webpack/global_test_setup.js
foreman_bootdisk-21.2.2 webpack/global_test_setup.js
foreman_bootdisk-21.0.5 webpack/global_test_setup.js
foreman_snapshot_management-3.0.0 webpack/global_test_setup.js
foreman_google-2.0.0 webpack/global_test_setup.js
foreman_bootdisk-21.2.1 webpack/global_test_setup.js