We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7d1ca commit 2b0128cCopy full SHA for 2b0128c
packages/ui-test-utils/src/utils/sandbox.js
@@ -29,6 +29,7 @@ import StyleSheet from '@instructure/ui-stylesheet'
29
import ReactComponentWrapper from './reactComponentWrapper'
30
31
import initConsole from './initConsole'
32
+import { newMutationObserver } from './shims'
33
34
class Sandbox {
35
constructor () {
@@ -45,7 +46,7 @@ class Sandbox {
45
46
}
47
48
this._addedNodes = []
- this._observer = new MutationObserver((mutations) => {
49
+ this._observer = newMutationObserver((mutations) => {
50
mutations.forEach((mutation) => {
51
Array.from(mutation.addedNodes).forEach((addedNode) => {
52
this._addedNodes.push(addedNode)
0 commit comments