simonihmig / ember-native-dom-helpers-codemod

Codemod to transform your jQuery based ember tests to use ember-native-dom-helpers
MIT License
27 stars 9 forks source link

Fixing issue with unwrapping andThen in acceptance tests #32

Closed scalvert closed 6 years ago

scalvert commented 6 years ago

When unwrapping andThen, arrow functions with no block expression were being erroneously removed. This PR adds a test, and fixes the issue.

There's one issue remaining: I don't know how to append a semicolon to the end of the unwrapped arrow function call statement. Do you guys know, @simonihmig @rwjblue?

rwjblue commented 6 years ago

:clap: