Skip to content

Commit f577f00

Browse files
committed
Fix test. Needs to now flush async when revealing.
1 parent 1ece5b3 commit f577f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools-shared/src/__tests__/store-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ describe('Store', () => {
838838
<Suspense name="two" rects={null}>
839839
<Suspense name="three" rects={null}>
840840
`);
841-
await act(() =>
841+
await actAsync(() =>
842842
agent.overrideSuspense({
843843
id: store.getElementIDAtIndex(2),
844844
rendererID,

0 commit comments

Comments
 (0)