mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
12 lines
358 B
JavaScript
12 lines
358 B
JavaScript
import { test } from "qunit";
|
|
import { acceptance } from "discourse/tests/helpers/qunit-helpers";
|
|
|
|
acceptance("current-user", function (needs) {
|
|
needs.user();
|
|
|
|
test("currentUser has appEvents", function (assert) {
|
|
let currentUser = this.container.lookup("service:current-user");
|
|
assert.notStrictEqual(currentUser.appEvents, undefined);
|
|
});
|
|
});
|