test: uses a real non-date value for testing

This commit is contained in:
Jacob Overgaard
2025-11-17 17:17:59 +01:00
parent b8c31350fb
commit a89437e309

View File

@@ -67,7 +67,7 @@ describe('UmbPropertyEditorUIDatePickerElement', () => {
}); });
it('should disregard a non-datetime value', async () => { it('should disregard a non-datetime value', async () => {
element.value = '03/05/2024 10:44:00'; element.value = 'some value';
await element.updateComplete; await element.updateComplete;
expect((element as any)._inputValue).to.be.undefined; expect((element as any)._inputValue).to.be.undefined;
}); });