Closed scalvert closed 6 years ago
@simonihmig @rwjblue
Just concerned that this were failing, but the last master build passed: https://travis-ci.org/simonihmig/ember-native-dom-helpers-codemod/builds/301658747
@scalvert thanks!
Seems good to me, is there a failing test that this fixes?
No, so far not. I added the third path
argument recently for the jquery selector handling, to check the scope of the variable holding the selector. When the selector is given as a literal, the function exists early, and the missing path
argument does not matter: https://github.com/simonihmig/ember-native-dom-helpers-codemod/blob/master/lib/utils.js#L70-L72. As most test fixtures for the various transforms are using just string literals as the selector, this error was not uncovered by any of those tests...
An error was occurring in the set-value.js transform for integration tests. Adding the path to
isJQuerySelectExpression
fixed this.