Skip to content

Commit c738260

Browse files
refactor datebox test
1 parent 1103f73 commit c738260

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/datebox.tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ QUnit.module('datebox tests', moduleConfig, () => {
258258
max: new Date(2024, 8, 27, 16, 54, 10)
259259
});
260260

261-
const $input = $dateBox.find('.' + TEXTEDITOR_INPUT_CLASS);
262-
assert.equal($input.attr('min'), '2024-09-10T16:54', 'minimum date changed correctly');
263-
assert.equal($input.attr('max'), '2024-09-27T16:54', 'maximum date changed correctly');
261+
const $input = $dateBox.find(`.${TEXTEDITOR_INPUT_CLASS}`);
262+
assert.equal($input.attr('min'), '2024-09-10T16:54', 'minimum date set correctly');
263+
assert.equal($input.attr('max'), '2024-09-27T16:54', 'maximum date set correctly');
264264
});
265265

266266
QUnit.test('Datebox should set min and max attributes to the native input (T258860) after option changed', function(assert) {

0 commit comments

Comments
 (0)