Created by: ianschmitz
Closes #8954 (closed).
We can ship the TypeScript template referencing @types/jest@25
until the 26 version drops. There should only be minor differences that we can call out in our release notes. From Simen:
main changes from 25 to 26 would be removal of
require.requireActual
, addingjest.useFakeTimers('modern')
and addingjest.createMockFromModule()
Still todo:
-
Figure out types migration path - we include @types/jest
in the TypeScript template. We may require TypeScript 3.8: https://github.com/facebook/jest/pull/9823. Need to sync with Simen to figure out the details
cc @SimenB.