diff --git a/test/observeMutations/observeMutations.js b/test/observeMutations/observeMutations.js index fd2a7f31a..f2e9acc88 100644 --- a/test/observeMutations/observeMutations.js +++ b/test/observeMutations/observeMutations.js @@ -1,5 +1,5 @@ const observeMutations = (element, callback, options) => { - const observer = new MutationObserver(mutations => mutations.forEach(m => callback(m))); + const observer = new MutationObserver(mutations => mutations.forEach(callback)); observer.observe( element, Object.assign(