discourse/test/javascripts/models/session-test.js.es6

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
283 B
Plaintext
Raw Normal View History

import Session from "discourse/models/session";
2017-06-15 01:57:58 +08:00
QUnit.module("model:session");
2017-06-15 01:57:58 +08:00
QUnit.test("highestSeenByTopic", assert => {
2015-08-08 03:08:27 +08:00
const session = Session.current();
2017-06-15 01:57:58 +08:00
assert.deepEqual(
session.get("highestSeenByTopic"),
{},
"by default it returns an empty object"
);
});