This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/app/assets/javascripts/discourse/tests/unit/services/current-user-test.js
T
2021-01-19 14:37:21 -05:00

12 lines
332 B
JavaScript

import { acceptance } from "discourse/tests/helpers/qunit-helpers";
import { test } from "qunit";
acceptance("current-user", function (needs) {
needs.user();
test("currentUser has appEvents", function (assert) {
let currentUser = this.container.lookup("current-user:main");
assert.ok(currentUser.appEvents);
});
});