Browse Source

Merge branch 'next' into next-merge-master

pull/38016/head
MadCcc 2 years ago
parent
commit
f4e3a923ed
  1. 2
      components/modal/__tests__/confirm.test.tsx

2
components/modal/__tests__/confirm.test.tsx

@ -283,6 +283,8 @@ describe('Modal.confirm triggers callbacks correctly', () => {
jest.useFakeTimers();
const onCancel = jest.fn();
Modal.confirm({
// test legacy visible
visible: true,
title: 'title',
content: 'content',
onCancel,

Loading…
Cancel
Save