Skip to content

Commit

Permalink
maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
Buchheit committed Apr 25, 2018
1 parent f887081 commit 3476d65
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/popper/tests/unit/getBoundaries.js
Expand Up @@ -54,6 +54,13 @@ describe('utils/getBoundaries', () => {
willChange: 'transform',
});

document.body.appendChild(node);
node.appendChild(spacing);
node.appendChild(scrolling);
node.appendChild(popper);
scrolling.appendChild(scrollingChild);
scrollingChild.appendChild(scrollingPopper);

if(isIE(10) || isIE(11)) {
document.documentElement.getBoundingClientRect = () => {
return {
Expand All @@ -64,13 +71,6 @@ describe('utils/getBoundaries', () => {
};
};
}

document.body.appendChild(node);
node.appendChild(spacing);
node.appendChild(scrolling);
node.appendChild(popper);
scrolling.appendChild(scrollingChild);
scrollingChild.appendChild(scrollingPopper);
});

afterEach(() => {
Expand Down

0 comments on commit 3476d65

Please sign in to comment.