Skip to content

Commit

Permalink
bindDataTestAttributes: Convert forEach() to for..of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed May 14, 2021
1 parent a9708fc commit 46fcd51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/utils/bind-data-test-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export default function bindDataTestAttributes(component) {
attributeBindings = attributeBindings.slice();
}

dataTestProperties.forEach(it => attributeBindings.push(it));
for (let prop of dataTestProperties) {
attributeBindings.push(prop);
}

try {
component.set('attributeBindings', attributeBindings);
Expand Down

0 comments on commit 46fcd51

Please sign in to comment.