Skip to content

Commit

Permalink
test: update testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Aug 8, 2023
1 parent ab6c3ce commit 1e05a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/picker.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ describe('Picker.Basic', () => {
act(() => {
fireEvent.mouseDown(document.body);
});
expect(onOpenChange).toHaveBeenCalledTimes(1);
expect(onOpenChange).toHaveBeenCalledTimes(i + 1);
}
act(() => {
jest.runAllTimers();
Expand Down

0 comments on commit 1e05a36

Please sign in to comment.