diff --git a/addon/utils/bind-data-test-attributes.js b/addon/utils/bind-data-test-attributes.js index bf87d381..6d800e38 100644 --- a/addon/utils/bind-data-test-attributes.js +++ b/addon/utils/bind-data-test-attributes.js @@ -20,9 +20,11 @@ export default function bindDataTestAttributes(component) { let message = `ember-test-selectors could not bind data-test-* properties on ${component} ` + `automatically because tagName is empty.`; - return warn(message, false, { + warn(message, false, { id: 'ember-test-selectors.empty-tag-name', }); + + return; } let computedBindings = component.attributeBindings && component.attributeBindings.isDescriptor; @@ -30,9 +32,11 @@ export default function bindDataTestAttributes(component) { let message = `ember-test-selectors could not bind data-test-* properties on ${component} ` + `automatically because attributeBindings is a computed property.`; - return warn(message, false, { + warn(message, false, { id: 'ember-test-selectors.computed-attribute-bindings', }); + + return; } let attributeBindings = component.getWithDefault('attributeBindings', []);