fix(pda): revoke expired sessions before completing logout
This commit is contained in:
@@ -103,7 +103,7 @@ test('workbench, module, history and profile are independent sources', async ()
|
||||
assert.match(module, /pages\/operation\/operation\?module=\$\{encodeURIComponent\(this\.moduleKey\)\}&name=/)
|
||||
assert.match(history, /作业记录/)
|
||||
assert.match(profile, /个人中心/)
|
||||
assert.match(profile, /signOut\(\)/)
|
||||
assert.match(profile, /logoutCurrentSession\(\)/)
|
||||
assert.match(profile, /class="logout-dialog-card"/)
|
||||
assert.doesNotMatch([home, module, history, profile].join('\n'), /BottomNav/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user