mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-27 12:13:30 +00:00
🧪 ci: Mock the Parent Subagent Index Handler in Convos Route Tests (#15146)
This commit is contained in:
parent
dd85c6d6d0
commit
d85bea41cc
1 changed files with 3 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ module.exports = {
|
|||
return archiveAllHandler;
|
||||
}),
|
||||
createSubagentThreadViewHandler: jest.fn(() => (_req, res) => res.status(200).json({})),
|
||||
createParentSubagentIndexHandler: jest.fn(
|
||||
() => (_req, res) => res.status(200).json({ threads: [] }),
|
||||
),
|
||||
GenerationJobManager: generationJobManager,
|
||||
isStopConfirmed: jest.fn(
|
||||
(result) => result?.success === true || result?.failureReason === 'already_settled',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue