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:
@@ -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')
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user