Update Metro to 0.60.0 (#1380)

Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1380

Updated Metro to 0.60.0

Reviewed By: mweststrate

Differential Revision: D22453798

fbshipit-source-id: 14c5bacf88bc31bd3dd06ad42edf271769a4a669
This commit is contained in:
Anton Nikolaev
2020-07-14 01:03:47 -07:00
committed by Facebook GitHub Bot
parent 23758a8fbf
commit 30213e118f
6 changed files with 181 additions and 710 deletions

View File

@@ -8,7 +8,13 @@
*/
import * as React from 'react';
import {render, fireEvent, waitFor, act} from '@testing-library/react';
import {
render,
fireEvent,
waitFor,
act,
waitForElement,
} from '@testing-library/react';
import ManagedDataInspector from '../ManagedDataInspector';
import {sleep} from '../../../../utils';
@@ -61,7 +67,7 @@ test('changing collapsed property works', async () => {
res.rerender(
<ManagedDataInspector data={json} collapsed={false} expandRoot />,
);
await waitFor(() => res.findByText(/cool/));
await waitForElement(() => res.findByText(/cool/));
res.rerender(
<ManagedDataInspector data={json} collapsed={true} expandRoot />,