Skip to content

Commit 4b3f5a9

Browse files
author
Sebastian Silbermann
committed
Assert after flush
1 parent eceadd9 commit 4b3f5a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-interactions/events/src/dom/create-event-handle/__tests__/useFocusWithin-test.internal.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ describe.each(table)(`useFocus`, hasPointerEvents => {
552552
suspend = false;
553553
resolve();
554554
});
555+
expect(container2.innerHTML).toBe('<div><input style=""></div>');
555556
});
556557

557558
// @gate www
@@ -619,6 +620,7 @@ describe.each(table)(`useFocus`, hasPointerEvents => {
619620
suspend = false;
620621
resolve();
621622
});
623+
expect(container2.innerHTML).toBe('<div><input style=""></div>');
622624
});
623625
});
624626
});

0 commit comments

Comments
 (0)