Convert a lot of Globals to ES6 modules

This commit is contained in:
Robin Ward
2014-12-15 14:41:08 -05:00
parent 124f47529a
commit f42a5c1ba3
15 changed files with 65 additions and 80 deletions

View File

@@ -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");
});