We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4caa4a7 commit 3154b5eCopy full SHA for 3154b5e
src/user-event/utils/dispatch-event.ts
@@ -1,6 +1,5 @@
1
import { ReactTestInstance } from 'react-test-renderer';
2
import act from '../../act';
3
-import { flushMicroTasks } from '../../flushMicroTasks';
4
import { getHostParent } from '../../helpers/component-tree';
5
import { isHostTextInput } from '../../helpers/host-component-names';
6
@@ -25,7 +24,6 @@ export function dispatchHostEvent(
25
24
26
act(() => {
27
handler(event);
28
- flushMicroTasks();
29
});
30
}
31
@@ -49,7 +47,6 @@ export function dispatchOwnHostEvent(
49
47
50
48
51
52
53
54
55
0 commit comments