rsnext/test/jest-setup-after-env.ts
JJ Kasper fb04b85bb6
Decrease default test timeouts (#56116)
When tests are timing out we shouldn't wait for 4 minutes before it officially fails so this brings down the default test timeouts
2023-09-27 23:55:20 +00:00

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)