From f6fe608d65172996cbc0f84b2cedef8d62c39e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Curda?= Date: Mon, 21 Oct 2024 15:30:16 +0200 Subject: [PATCH] fixup! Fix(web-react): FileUploaderInput className #DS-1508 --- .../FileUploader/__tests__/FileUploaderInput.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-react/src/components/FileUploader/__tests__/FileUploaderInput.test.tsx b/packages/web-react/src/components/FileUploader/__tests__/FileUploaderInput.test.tsx index 69df65ddeb..31ed6f0051 100644 --- a/packages/web-react/src/components/FileUploader/__tests__/FileUploaderInput.test.tsx +++ b/packages/web-react/src/components/FileUploader/__tests__/FileUploaderInput.test.tsx @@ -72,7 +72,7 @@ describe('Listener approach', () => { }); }); -describe('mock useeffect approach', () => { +describe('mock useEffect approach', () => { it('should not register onDragOver event listener during SSR', () => { jest.spyOn(React, 'useEffect').mockImplementation(() => {}); const addEventListenerSpy = jest.spyOn(window, 'addEventListener'); @@ -99,7 +99,7 @@ describe('mock useeffect approach', () => { }); }); -describe('is-dragging class on drag vent', () => { +describe('is-dragging class onDragOver event', () => { it('should have is-dragging class on dragOver', () => { render(); const dropZone = screen.getAllByTestId('test')[0];