mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-18 16:35:31 +01:00
✍️ fix: Validation for Conversation Title Updates (#11099)
* ✍️ fix: Validation for Conversation Title Updates
* fix: Add validateConvoAccess middleware mock in tests
This commit is contained in:
parent
b7ea340769
commit
bfc981d736
3 changed files with 40 additions and 7 deletions
|
|
@ -59,6 +59,7 @@ jest.mock('~/server/middleware', () => ({
|
|||
forkUserLimiter: (req, res, next) => next(),
|
||||
})),
|
||||
configMiddleware: (req, res, next) => next(),
|
||||
validateConvoAccess: (req, res, next) => next(),
|
||||
}));
|
||||
|
||||
jest.mock('~/server/utils/import/fork', () => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue