Upgrade to Jest 27 (#139335)

* Upgrade to Jest 27

* fix test
This commit is contained in:
Jonathan Budzenski 2022-10-25 14:38:38 -05:00 committed by GitHub
parent 94fe0047f7
commit be432c0d89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
226 changed files with 969 additions and 949 deletions

View file

@ -37,7 +37,7 @@ describe('Runtime field editor', () => {
const lastOnChangeCall = (): FormState[] => onChange.mock.calls[onChange.mock.calls.length - 1];
beforeAll(() => {
jest.useFakeTimers();
jest.useFakeTimers('legacy');
});
afterAll(() => {