ember-qunit-codemod icon indicating copy to clipboard operation
ember-qunit-codemod copied to clipboard

imports with `as` get corrupted

Open kellyselden opened this issue 6 years ago • 2 comments

Turns

import {
  setupTest as _setupTest,
  setupRenderingTest as _setupRenderingTest
} from 'ember-qunit';

into

import {
  setupTest,
  setupRenderingTest
} from 'ember-qunit';

That's the only change in the file, the corresponding uses were not touched.

kellyselden avatar Apr 21 '18 01:04 kellyselden

Awesome, thank you for reporting!

@rondale-sc and I noticed this while working on a different codemod (that was using this one as a starting point). I’m fairly certain of the fix...

rwjblue avatar Apr 21 '18 12:04 rwjblue

I just ran into this problem.

jagthedrummer avatar Mar 21 '24 18:03 jagthedrummer