Skip to content

Commit 31f3213

Browse files
author
brucou
committed
fix(testing-library#184): replacing setImmediate by setTimeour when not defined
1 parent 5c4a077 commit 31f3213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wait-for-dom-change.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {getDocument, getSetImmediate, newMutationObserver} from './helpers'
1+
import {newMutationObserver, getDocument, getSetImmediate} from './helpers'
22

33
function waitForDomChange({
44
container = getDocument(),

0 commit comments

Comments
 (0)