rsnext/test/jest-setup-after-env.ts
Leah 5d54eaaf18
type check tests (and convert next-test-utils.js to ts) (#51071)
Enables type checking for tests in CI and fixes a bunch of things related to that
2023-06-23 17:42:50 +00:00

7 lines
250 B
TypeScript

// @ts-ignore
import * as matchers from 'jest-extended'
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 : 120) * 1000)