diff --git a/addon/utils/bind-data-test-attributes.js b/addon/utils/bind-data-test-attributes.js index 5c87cdd9..ee3c3720 100644 --- a/addon/utils/bind-data-test-attributes.js +++ b/addon/utils/bind-data-test-attributes.js @@ -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);