You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QUnit.test('DateBox must pass value to calendar correctly if value is empty string',function(assert){
2233
+
QUnit.test('DateBox should pass empty string value to calendar if value is empty string',function(assert){
2234
2234
this.reinitFixture({
2235
2235
value: '',
2236
2236
pickerType: 'calendar',
2237
2237
opened: true
2238
2238
});
2239
2239
2240
-
assert.equal(this.fixture.dateBox._strategy._widget.option('value'),null,'value is correctly');
2240
+
assert.equal(this.fixture.dateBox._strategy._widget.option('value'),'','value is equal to empty string');
2241
2241
});
2242
2242
2243
2243
QUnit.test('DateBox must show the calendar with a proper date selected',function(assert){
@@ -6164,6 +6164,33 @@ QUnit.module('DateBox number and string value support', {
6164
6164
assert.ok(true,'there is no error');
6165
6165
}
6166
6166
});
6167
+
6168
+
[true,false].forEach(isRuntime=>{
6169
+
QUnit.test(`should not throw error after applying new date when empty string ${isRuntime ? 'runtime' : 'initial'} value is passed and datetime type used (T1301310)`,function(assert){
0 commit comments