discourse/test/javascripts/models/session-test.js
2020-09-04 13:42:47 +02:00

13 lines
285 B
JavaScript

import Session from "discourse/models/session";
QUnit.module("model:session");
QUnit.test("highestSeenByTopic", (assert) => {
const session = Session.current();
assert.deepEqual(
session.get("highestSeenByTopic"),
{},
"by default it returns an empty object"
);
});