From f628ecfb15c46ee61c5c9e8b36de426677446c12 Mon Sep 17 00:00:00 2001 From: ByoungYong Kim Date: Tue, 3 Sep 2024 13:23:48 +0200 Subject: [PATCH] Remove test for no-longer supported feature --- .../input-file/test/lion-input-file.test.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/ui/components/input-file/test/lion-input-file.test.js b/packages/ui/components/input-file/test/lion-input-file.test.js index 0efd76860..b4c7db52e 100644 --- a/packages/ui/components/input-file/test/lion-input-file.test.js +++ b/packages/ui/components/input-file/test/lion-input-file.test.js @@ -354,20 +354,6 @@ describe('lion-input-file', () => { expect(error.message).to.equal('Please select a .jpg, .png or .pdf file with max 500MB.'); }); }); - - it('error message should add all file extensions to the validator message also works without dots "."', async () => { - const el = await fixture(html` - - `); - - mimicSelectFile(el, [fileWrongType]); - await el.updateComplete; - - // @ts-expect-error [allow-protected-in-test] - el._selectedFilesMetaData[0].validationFeedback?.forEach(error => { - expect(error.message).to.equal('Please select a .jpg, .png or .pdf file with max 500MB.'); - }); - }); }); describe('invalid file sizes', async () => {