File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- import { assign } from '@ember/polyfills' ;
21import { getContext } from '@ember/test-helpers' ;
32
43export function setupForPositioning ( align = 'left' ) {
5- assign ( getContext ( ) . element . querySelector ( '#wrapper' ) . style , {
4+ Object . assign ( getContext ( ) . element . querySelector ( '#wrapper' ) . style , {
65 position : 'absolute' ,
76 bottom : 0 ,
87 [ align ] : 0 ,
@@ -12,13 +11,13 @@ export function setupForPositioning(align = 'left') {
1211 overflow : 'hidden' ,
1312 } ) ;
1413
15- assign ( document . getElementById ( 'ember-testing' ) . style , {
14+ Object . assign ( document . getElementById ( 'ember-testing' ) . style , {
1615 transform : 'none' ,
1716 } ) ;
1817
1918 // popper.js v1 seems to have issues with the positioning of our testing container since ember-qunit v5
2019 // Could be related to https://github.com/popperjs/popper-core/issues/670
21- assign ( document . getElementById ( 'ember-testing-container' ) . style , {
20+ Object . assign ( document . getElementById ( 'ember-testing-container' ) . style , {
2221 position : 'relative' ,
2322 top : 0 ,
2423 } ) ;
You can’t perform that action at this time.
0 commit comments