diff --git a/packages/form/src/widgets/select/select.widget.spec.ts b/packages/form/src/widgets/select/select.widget.spec.ts index 267cff118..36ca89cf9 100644 --- a/packages/form/src/widgets/select/select.widget.spec.ts +++ b/packages/form/src/widgets/select/select.widget.spec.ts @@ -140,8 +140,9 @@ describe('form: widget: select', () => { default: 1, ui: { widget, - allowClear: true - } + allowClear: true, + clearValue: 2 + } as SFSelectWidgetSchema } } }; @@ -151,7 +152,7 @@ describe('form: widget: select', () => { .time() .typeEvent('click', '.ant-select-close-icon') .time() - .checkValue('/a', undefined) + .checkValue('/a', 2) .asyncEnd(); }));