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

Results 17 ember-qunit-codemod issues
Sort by recently updated
recently updated
newest added

``` ERR ./tests/integration/components/tag-input-test.js Transformation error (Cannot read property 'some' of undefined) TypeError: Cannot read property 'some' of undefined at new ModuleInfo (/Users/ilya/.npm/_npx/26337/lib/node_modules/ember-qunit-codemod/transforms/convert-module-for-to-setup-test/index.js:62:49) at createModule (/Users/ilya/.npm/_npx/26337/lib/node_modules/ember-qunit-codemod/transforms/convert-module-for-to-setup-test/index.js:330:24) at NodePath.bodyPath.each.expressionPath (/Users/ilya/.npm/_npx/26337/lib/node_modules/ember-qunit-codemod/transforms/convert-module-for-to-setup-test/index.js:700:28) at NodePath.each...

Got error on test file : ``` ERR tests/unit/features/components/xxx/component-test.js Transformation error (undefined does not match field "name": string of type Identifier) Error: undefined does not match field "name": string of...

```js ['myAction1', 'myAction2'].forEach(action => { this.on(action, () => { // ... }); }); ``` ``` ERR tests/integration/components/my-camera-test.js Transformation error (undefined does not match field "name": string of type Identifier) Error:...

I am trying to use ember-cli-update 0.43.3 to update an Ember 3.12.0 application to 3.13.0. I am first trying to run all codemods against 3.12.0. When running ember-qunit-codemod, I get...

bug

Support for transforming `this.on` usage landed in https://github.com/rwjblue/ember-qunit-codemod/pull/56 (issue with detailed writup in #45). In order to support `this.on` in all of the same capacities as was supported in the...

enhancement

https://github.com/rwjblue/ember-qunit-codemod/issues/157

Input & Expected Output ```js import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { withMoar } from 'foo-bar'; module('Acceptance | foo-bar', function () {...

Hey @rwjblue , thx for this Just wanted to report that I've run into some issues running it with node `8.11.1`, but seems to be working fine with `6`

Turns ```js import { setupTest as _setupTest, setupRenderingTest as _setupRenderingTest } from 'ember-qunit'; ``` into ```js import { setupTest, setupRenderingTest } from 'ember-qunit'; ``` That's the only change in the...

The following pattern is not handled by codemod, don't know if worth handling or not: ```js [ [ "input", "expected" ] ].forEach(([ input, expected ]) => { test(`it handles ${input}`,...