Remove test for no-longer supported feature

This commit is contained in:
ByoungYong Kim 2024-09-03 13:23:48 +02:00
parent e4ffdd9e54
commit f628ecfb15

View file

@ -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`
<lion-input-file label="Select" accept="jpg, png, pdf"></lion-input-file>
`);
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 () => {