fb04b85bb6
When tests are timing out we shouldn't wait for 4 minutes before it officially fails so this brings down the default test timeouts
8 lines
284 B
TypeScript
8 lines
284 B
TypeScript
// @ts-ignore
|
|
import * as matchers from 'jest-extended'
|
|
import '@testing-library/jest-dom'
|
|
expect.extend(matchers)
|
|
|
|
// A default max-timeout of 90 seconds is allowed
|
|
// per test we should aim to bring this down though
|
|
jest.setTimeout((process.platform === 'win32' ? 180 : 60) * 1000)
|