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

13 lines
283 B
Plaintext
Raw Normal View History

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