test: uses a real non-date value for testing
This commit is contained in:
@@ -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;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user