ember-codemods / ember-test-helpers-codemod

Codemod to transform your Ember tests to use @ember/test-helpers
MIT License
29 stars 14 forks source link

Transform to this.element.querySelector(All) #4

Closed simonihmig closed 6 years ago

simonihmig commented 6 years ago

Closes #1

walter commented 6 years ago

Note that ember-test-helpers now does provide find as of 0.7.15

simonihmig commented 6 years ago

@walter yes, and this codemod uses it (see #7 and the Readme). There is an optional transform to convert find() to this.element.querySelector (see https://github.com/simonihmig/ember-test-helpers-codemod#replace-findfindall)

walter commented 6 years ago

All good. Just adding a note for others that might come across this and wonder what the state of find() support was in ember-test-helpers. Thanks for your work on this codemod. Very handy.