ant-design/components/modal/__tests__
Wuxh 16ecdbb58d
fix(modal): Modal.xxx onCancel close argument is not a function (#36600)
* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: https://github.com/ant-design/ant-design/issues/36581#issuecomment-1189396007

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e62add63193ec9081b2c21e657379bebfb.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: #36581

* chore: cancel the introduction of `noop` from third-party library
2022-07-23 16:04:23 +08:00
..
__snapshots__ test: move test cases to @testing/library for Modal (#35785) 2022-05-31 10:29:13 +08:00
confirm.test.js fix(modal): Modal.xxx onCancel close argument is not a function (#36600) 2022-07-23 16:04:23 +08:00
demo-extend.test.ts test: Demo check popup content (#33378) 2021-12-23 11:51:10 +08:00
demo.test.ts test: move test cases to @testing/library for Modal (#35785) 2022-05-31 10:29:13 +08:00
hook.test.tsx fix(modal): Modal.xxx onCancel close argument is not a function (#36600) 2022-07-23 16:04:23 +08:00
image.test.ts test: demo -> ui test (#24475) 2020-10-23 18:50:46 +08:00
Modal.test.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
type.test.tsx chore: Update Popconfirm & Modal okType type (#23867) 2020-05-05 12:03:16 +08:00