Skip to content

Commit 905afd0

Browse files
committed
Remove extra act
1 parent c9555fc commit 905afd0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/unit/useOnyxTest.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ describe('useOnyx', () => {
287287
const {result: result2} = renderHook(() => useOnyx(`${ONYXKEYS.COLLECTION.TEST_KEY}entry1`));
288288
const {result: result3} = renderHook(() => useOnyx(`${ONYXKEYS.COLLECTION.TEST_KEY}entry1`));
289289

290-
await act(async () => waitForPromisesToResolve());
291290
await act(async () => waitForPromisesToResolve());
292291

293292
expect(result1.current[0]).toBeUndefined();

0 commit comments

Comments
 (0)