mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Convert a lot of Globals to ES6 modules
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import Session from "discourse/models/session";
|
||||
|
||||
module("Discourse.Session");
|
||||
|
||||
test('highestSeenByTopic', function() {
|
||||
var session = Discourse.Session.current();
|
||||
var session = Session.current();
|
||||
deepEqual(session.get('highestSeenByTopic'), {}, "by default it returns an empty object");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user