ant-design/components/date-picker/__tests__
Bart Piotrowski fb00f1cae1
fix: RangePicker allowClear does not disable the clear button (#44015)
* respect allowClear===false in date picker

* remove clear icon from snapshot

reflects actual desired outcome when allowClear is false

* test allowClear undefined and false scenarios

* use nested clearIcon if passed

* vanilla parameters, more robust merge

* no need to check allowClear for truthyness
2023-08-04 16:14:56 +08:00
..
__snapshots__ chore: update snapshot (#43957) 2023-08-02 15:33:29 +08:00
DatePicker.test.tsx fix: RangePicker allowClear does not disable the clear button (#44015) 2023-08-04 16:14:56 +08:00
demo-extend.test.ts docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
demo.test.tsx revert: "chore: unified import method (#42149)" (#42180) 2023-05-06 15:49:37 +08:00
image.test.ts test: demo -> ui test (#24475) 2020-10-23 18:50:46 +08:00
mount.test.ts test: migrate part of DatePicker tests (#37115) 2022-08-18 17:40:47 +08:00
other.test.tsx chore: Remove locale-provider (#41289) 2023-03-21 13:08:43 +08:00
QuarterPicker.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
RangePicker.test.tsx fix: RangePicker allowClear does not disable the clear button (#44015) 2023-08-04 16:14:56 +08:00
type.test.tsx type: React.forwardRef type optimization (#43610) 2023-07-18 12:18:51 +08:00
utils.ts fix: RangePicker allowClear does not disable the clear button (#44015) 2023-08-04 16:14:56 +08:00
WeekPicker.test.tsx test: migrate part of DatePicker tests (#37115) 2022-08-18 17:40:47 +08:00