Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Feb 11, 2025
1 parent f496b4c commit 3c465b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -519,13 +519,10 @@ describe('dialog', () => {
jest.runAllTimers();
});

console.log('~~~~~~false~~~~~~');
rerender(<Dialog afterClose={afterClose} visible={false} />);
console.log('~~~~~~111~~~~~~');
act(() => {
jest.runAllTimers();
});
console.log('~~~~~~222~~~~~~');

expect(afterClose).toHaveBeenCalledTimes(1);
});
Expand Down

0 comments on commit 3c465b4

Please sign in to comment.