Skip to content

Commit

Permalink
replace toArray() with pollyfilled Array.from()
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Dec 12, 2020
1 parent 951eda7 commit 94c6873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon-test-support/@ember/test-helpers/dom/find-all.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import getElements from './-get-elements';
import toArray from './-to-array';
import { toArray } from '../ie-11-polyfills';

/**
Find all elements matched by the given selector. Similar to calling
Expand Down
2 changes: 1 addition & 1 deletion addon-test-support/@ember/test-helpers/dom/wait-for.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import waitUntil from '../wait-until';
import getElement from './-get-element';
import getElements from './-get-elements';
import toArray from './-to-array';
import { toArray } from '../ie-11-polyfills';
import { Promise } from '../-utils';

export interface Options {
Expand Down

0 comments on commit 94c6873

Please sign in to comment.