LibreChat/api/server/services/Files/Code
Aron Gates 23185eab73 fix: use mockSanitizeArtifactPath in retention test
The 'getRetentionExpiry is called with the request object' test
referenced an undefined `mockSanitizeFilename` identifier, breaking
both lint (no-undef) and the test suite. Use the existing
`mockSanitizeArtifactPath` mock that the surrounding tests already
use, since `processCodeOutput` calls `sanitizeArtifactPath` (not
`sanitizeFilename`) before invoking `getRetentionExpiry`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
(cherry picked from commit 52ea2da66d)
2026-05-10 14:06:39 -04:00
..
__tests__ fix: use mockSanitizeArtifactPath in retention test 2026-05-10 14:06:39 -04:00
crud.js 🔐 feat: Mint Code API Auth Tokens (#13028) 2026-05-09 16:09:10 -04:00
crud.spec.js 🔐 feat: Mint Code API Auth Tokens (#13028) 2026-05-09 16:09:10 -04:00
index.js 🚧 chore: merge latest dev build (#4288) 2024-09-30 17:17:57 -04:00
process.js feat: extend data retention to files, tool calls, and shared links 2026-05-10 14:06:12 -04:00
process.spec.js fix: address code review feedback for data retention PR 2026-05-10 14:06:39 -04:00