mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
test: fix lint
This commit is contained in:
parent
7a73035f82
commit
1a051dcc5e
@ -94,6 +94,8 @@ export interface ModalFuncProps {
|
||||
prefixCls?: string;
|
||||
className?: string;
|
||||
open?: boolean;
|
||||
/** @deprecated Please use `open` instead. */
|
||||
visible?: boolean;
|
||||
title?: React.ReactNode;
|
||||
closable?: boolean;
|
||||
content?: React.ReactNode;
|
||||
|
@ -878,7 +878,7 @@ describe('Modal.confirm triggers callbacks correctly', () => {
|
||||
jest.useFakeTimers();
|
||||
|
||||
Modal.confirm({}).update({
|
||||
visible: true,
|
||||
open: true,
|
||||
});
|
||||
|
||||
await act(async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user