File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/core/overlay/position Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ describe('ViewportRuler', () => {
46
46
// successfully constrain its size. As such, skip assertions in environments where the
47
47
// window size has changed since the start of the test.
48
48
if ( window . innerWidth > startingWindowWidth || window . innerHeight > startingWindowHeight ) {
49
+ document . body . removeChild ( veryLargeElement ) ;
49
50
return ;
50
51
}
51
52
@@ -78,6 +79,7 @@ describe('ViewportRuler', () => {
78
79
// successfully constrain its size. As such, skip assertions in environments where the
79
80
// window size has changed since the start of the test.
80
81
if ( window . innerWidth > startingWindowWidth || window . innerHeight > startingWindowHeight ) {
82
+ document . body . removeChild ( veryLargeElement ) ;
81
83
return ;
82
84
}
83
85
You can’t perform that action at this time.
0 commit comments