mirror of
https://github.com/discourse/discourse.git
synced 2025-04-10 08:50:55 +08:00

This structure is closer to how ember-cli expects tests to be placed. It is not their final position, just the first step towards it.
13 lines
285 B
JavaScript
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"
|
|
);
|
|
});
|