discourse/test/javascripts/controllers/discourse-test.js.es6

9 lines
324 B
JavaScript

import DiscourseController from 'discourse/controllers/controller';
module("DiscourseController");
test("includes mixins", function() {
ok(Discourse.Presence.detect(DiscourseController.create()), "Discourse.Presence");
ok(Discourse.HasCurrentUser.detect(DiscourseController.create()), "Discourse.HasCurrentUser");
});