Bump @types/testing-library__react from 10.0.0 to 10.2.0 in /desktop (#1366)

Summary:
Created a few breakages. Would appreciate some closer eyes on this.

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

Reviewed By: mweststrate

Differential Revision: D22501454

fbshipit-source-id: 9b882a12aecc65da85f29101bf87bf27519a7d2a
This commit is contained in:
Pascal Hartig
2020-07-14 06:17:46 -07:00
committed by Facebook GitHub Bot
parent c4f3978c36
commit 9d57a667ef
9 changed files with 40 additions and 39 deletions

View File

@@ -67,7 +67,7 @@ test('changing collapsed property works', async () => {
res.rerender(
<ManagedDataInspector data={json} collapsed={false} expandRoot />,
);
await waitForElement(() => res.findByText(/cool/));
await res.findByText(/cool/);
res.rerender(
<ManagedDataInspector data={json} collapsed={true} expandRoot />,