Merge pull request #5484 from overleaf/tm-show-current-session

Show current session on user sessions page

GitOrigin-RevId: 6ae130bfa8c3d82a305fd865e162c19f5c8b208c
This commit is contained in:
June Kelly
2021-10-21 08:03:04 +00:00
committed by Copybot
parent 7292cfbd02
commit e0b0d10143
8 changed files with 73 additions and 25 deletions
@@ -154,7 +154,7 @@ describe('UserPagesController', function () {
describe('sessionsPage', function () {
beforeEach(function () {
return this.UserSessionsManager.getAllUserSessions.callsArgWith(
2,
1,
null,
[]
)
@@ -179,7 +179,7 @@ describe('UserPagesController', function () {
describe('when getAllUserSessions produces an error', function () {
beforeEach(function () {
return this.UserSessionsManager.getAllUserSessions.callsArgWith(
2,
1,
new Error('woops')
)
})