From 5ae95f59bae4f31ef94d030daf4a1876d9c89f73 Mon Sep 17 00:00:00 2001 From: Niels Roozemond Date: Fri, 29 Nov 2024 15:22:57 +0100 Subject: [PATCH] refactor: update formatFileType test to return 'Document' for unknown types --- packages/react/src/common/formatFileType.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/common/formatFileType.test.tsx b/packages/react/src/common/formatFileType.test.tsx index f3918cf083..3846c8f801 100644 --- a/packages/react/src/common/formatFileType.test.tsx +++ b/packages/react/src/common/formatFileType.test.tsx @@ -24,6 +24,6 @@ describe('formatFileType', () => { }) it('returns the original file type for unknown types', () => { - expect(formatFileType('unknown/type')).toBe('unknown/type') + expect(formatFileType('unknown/type')).toBe('Document') }) })