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

Failed to ignore revisions in .git-blame-ignore-revs.

13 lines
283 B
JavaScript
Raw Normal View History

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