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

@ -81,7 +81,7 @@ describe('ThresholdVisualization', () => {
test('periodically requests visualization data', async () => {
const refreshRate = 10;
jest.useFakeTimers();
jest.useFakeTimers('legacy');
const wrapper = mountWithIntl(
<ThresholdVisualization