DEV: Ember linting - disallow Ember.* variable usage (#8782)

This commit is contained in:
Mark VanLandingham
2020-02-05 10:14:42 -06:00
committed by GitHub
parent 88779d849f
commit 499b57a9ed
31 changed files with 97 additions and 49 deletions

View File

@ -4,6 +4,7 @@ import Topic from "discourse/models/topic";
import PostStream from "discourse/models/post-stream";
import { Placeholder } from "discourse/lib/posts-with-placeholders";
import User from "discourse/models/user";
import { Promise } from "rsvp";
moduleFor("controller:topic", "controller:topic", {
needs: [
@ -534,7 +535,7 @@ QUnit.test(
reply_count: 3,
destroy: () => {
destroyed = true;
return Ember.RSVP.Promise.resolve();
return Promise.resolve();
}
});