mirror of
https://github.com/langgenius/dify.git
synced 2026-03-12 12:20:28 +08:00
fix CI
This commit is contained in:
parent
434f7f3bcb
commit
4200ac0da3
@ -73,6 +73,7 @@ describe('CRDTProvider', () => {
|
||||
expect(socket.emit).toHaveBeenCalledWith(
|
||||
'graph_event',
|
||||
expect.any(Uint8Array),
|
||||
expect.any(Function),
|
||||
)
|
||||
expect(doc.export).toHaveBeenCalledWith({ mode: 'update' })
|
||||
})
|
||||
|
||||
@ -126,7 +126,11 @@ describe('WebSocketClient', () => {
|
||||
expect(connectHandler).toBeDefined()
|
||||
connectHandler()
|
||||
|
||||
expect(mockSocket.emit).toHaveBeenCalledWith('user_connect', { workflow_id: 'app-auth' })
|
||||
expect(mockSocket.emit).toHaveBeenCalledWith(
|
||||
'user_connect',
|
||||
{ workflow_id: 'app-auth' },
|
||||
expect.any(Function),
|
||||
)
|
||||
})
|
||||
|
||||
it('disconnects a specific app and clears internal maps', async () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user