mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-09 03:58:51 +01:00
test(mcp): update test to expect signal parameter in createFlow
This commit is contained in:
parent
aa5c18bb29
commit
a34ee97292
1 changed files with 2 additions and 0 deletions
|
|
@ -331,12 +331,14 @@ describe('MCPConnectionFactory', () => {
|
|||
expect(deleteCallOrder).toBeLessThan(createCallOrder);
|
||||
|
||||
// Verify createFlow was called with fresh metadata
|
||||
// 4th arg is the abort signal (undefined in this test since no signal was provided)
|
||||
expect(mockFlowManager.createFlow).toHaveBeenCalledWith(
|
||||
'user123:test-server',
|
||||
'mcp_oauth',
|
||||
expect.objectContaining({
|
||||
codeVerifier: 'new-code-verifier-xyz',
|
||||
}),
|
||||
undefined,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue