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', () => {
4646 // successfully constrain its size. As such, skip assertions in environments where the
4747 // window size has changed since the start of the test.
4848 if ( window . innerWidth > startingWindowWidth || window . innerHeight > startingWindowHeight ) {
49+ document . body . removeChild ( veryLargeElement ) ;
4950 return ;
5051 }
5152
@@ -78,6 +79,7 @@ describe('ViewportRuler', () => {
7879 // successfully constrain its size. As such, skip assertions in environments where the
7980 // window size has changed since the start of the test.
8081 if ( window . innerWidth > startingWindowWidth || window . innerHeight > startingWindowHeight ) {
82+ document . body . removeChild ( veryLargeElement ) ;
8183 return ;
8284 }
8385
You can’t perform that action at this time.
0 commit comments