chore: 保存工作副本——客户端授权新契约(双端点/验签/令牌/周检)与桌面会话可靠性改进
This commit is contained in:
1 parent
f71eef0eba
commit
ae6093c9b3
163 files changed
+4911
-2494
No files matched your search
@@ -42,7 +42,7 @@ describe('native connection close', () => {
|
||||
retainForwards: true,
|
||||
})
|
||||
|
||||
expect(disconnect).toHaveBeenCalledWith('conn-1', { retainForwards: true })
|
||||
expect(disconnect).toHaveBeenCalledWith('conn-1', { retainForwards: true, reason: 'auto reconnect cleanup' })
|
||||
})
|
||||
|
||||
it('stops tunnel listeners when the last tab releases the pooled SSH connection', async () => {
|
||||
@@ -52,6 +52,6 @@ describe('native connection close', () => {
|
||||
|
||||
await usePoolStore.getState().disconnectConnection('conn-1', 'no refs')
|
||||
|
||||
expect(disconnect).toHaveBeenCalledWith('conn-1', { retainForwards: false })
|
||||
expect(disconnect).toHaveBeenCalledWith('conn-1', { retainForwards: false, reason: 'no refs' })
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user