Sha256: 7a13884a785edac143b89534443c8497d6b74cb834deb1b786d87889cd8d63b4
Contents?: true
Size: 575 Bytes
Versions: 9
Compression:
Stored size: 575 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(process.env.JEST_TIMEOUT || 15000); afterAll(() => { jest.resetModules(); if (global.gc) global.gc(); });
Version data entries
9 entries across 9 versions & 1 rubygems