From de66745ee8b1d57318b2489ac273a2e2136e4625 Mon Sep 17 00:00:00 2001 From: "lia-by-librechat[bot]" <328778573+lia-by-librechat[bot]@users.noreply.github.com> Date: Sun, 18 Oct 2026 22:58:46 +0200 Subject: [PATCH] test: Mount the Steer Host in the Batch Composer Fixture (#17235) Co-authored-by: Lia --- .../Input/__tests__/ChatForm.askBatch.spec.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/client/src/components/Chat/Input/__tests__/ChatForm.askBatch.spec.tsx b/client/src/components/Chat/Input/__tests__/ChatForm.askBatch.spec.tsx index 56176bf641..5e5f0b271f 100644 --- a/client/src/components/Chat/Input/__tests__/ChatForm.askBatch.spec.tsx +++ b/client/src/components/Chat/Input/__tests__/ChatForm.askBatch.spec.tsx @@ -14,8 +14,8 @@ import type { TFile, TConversation } from 'librechat-data-provider'; import type { ChatFormValues } from '~/common'; import { ChatContext, ChatFormProvider } from '~/Providers'; import { AuthContextProvider } from '~/hooks/AuthContext'; +import { SteerHostTestProvider } from 'test/steerHost'; import ChatForm from '../ChatForm'; -import '~/Providers/SteerHostContext'; let mockComposerLocked = false; @@ -102,13 +102,15 @@ function renderComposer() { return render( - - - - - - - + + + + + + + + + , );