mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
ES6ify some of the remaining files
This commit is contained in:
parent
378087727f
commit
b7e6eaa961
96 changed files with 684 additions and 720 deletions
|
@ -1,8 +1,8 @@
|
|||
import Session from "discourse/models/session";
|
||||
|
||||
module("Discourse.Session");
|
||||
module("model:session");
|
||||
|
||||
test('highestSeenByTopic', function() {
|
||||
var session = Session.current();
|
||||
const session = Session.current();
|
||||
deepEqual(session.get('highestSeenByTopic'), {}, "by default it returns an empty object");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue