You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tests are being picked up by the isEmberCoreModule check, possibly triggering rules, depending on the code in the test.
Given some test for a controller like this, it will be picked up as an ember controller because of the path and trigger the alias-model-in-controller rule.
import { moduleFor, test } from 'ember-qunit';
const somethingThatNeedsToUseExtend = Ember.Object.extend({...});
moduleFor('controller:my-controller', 'Unit | Controller | my controller', {
...
I wll submit a PR, but excluding files with tests in the path from the isEmberCoreModule check would solve this.
The text was updated successfully, but these errors were encountered:
Currently tests are being picked up by the isEmberCoreModule check, possibly triggering rules, depending on the code in the test.
Given some test for a controller like this, it will be picked up as an ember controller because of the path and trigger the alias-model-in-controller rule.
I wll submit a PR, but excluding files with
tests
in the path from theisEmberCoreModule
check would solve this.The text was updated successfully, but these errors were encountered: