From de0c1b7c050915a4e19e025f8d21c13bb86f4eec Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Tue, 28 Apr 2026 23:48:28 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20chore:=20Drop=20redundant=20`@te?= =?UTF-8?q?sting-library/jest-dom`=20import=20in=20FileContainer=20spec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `client/test/setupTests.js` already imports the matchers globally for every Jest test in the client workspace, so the explicit import here was dead code. Removing it brings the spec in line with the broader convention used by `ArtifactRouting.test.tsx`, `LogContent.test.tsx`, and `attachmentTypes.test.ts`. --- .../components/Chat/Input/Files/__tests__/FileContainer.spec.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/components/Chat/Input/Files/__tests__/FileContainer.spec.tsx b/client/src/components/Chat/Input/Files/__tests__/FileContainer.spec.tsx index 35727918d8..3291eb5b8c 100644 --- a/client/src/components/Chat/Input/Files/__tests__/FileContainer.spec.tsx +++ b/client/src/components/Chat/Input/Files/__tests__/FileContainer.spec.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { render, screen } from '@testing-library/react'; -import '@testing-library/jest-dom'; import type { TFile } from 'librechat-data-provider'; import FileContainer from '../FileContainer';