Skip to content

Commit eab659d

Browse files
committed
fix use of @ember/polyfills
1 parent 0f50041 commit eab659d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/helpers/contextual-help.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { assign } from '@ember/polyfills';
21
import { getContext } from '@ember/test-helpers';
32

43
export 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
});

0 commit comments

Comments
 (0)