You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
process.env.DISABLE_EPSAGON = true; // XXX Avoids tests to crash because we don't init epsagon
if (process.env.NODE_ENV !== 'test') {
throw Error('Non-test environment');
}
jest.setTimeout(30000); // XXX Avoids tests to crash on slow networks
global.console = {
log: jest.fn(), // XXX Avoid noise when running tests, such as errors that are meant to be logged (Winston uses console.log instead of console.error for errors)