Skip to content

Commit

Permalink
chore(deps): bump @rc-component/trigger from 1.18.3 to 2.0.0 (#772)
Browse files Browse the repository at this point in the history
* chore(deps): bump @rc-component/trigger from 1.18.3 to 2.0.0

Bumps [@rc-component/trigger](https://github.com/react-component/trigger) from 1.18.3 to 2.0.0.
- [Release notes](https://github.com/react-component/trigger/releases)
- [Changelog](https://github.com/react-component/trigger/blob/master/HISTORY.md)
- [Commits](react-component/trigger@v1.18.3...2.0.0)

---
updated-dependencies:
- dependency-name: "@rc-component/trigger"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* test: fix test case

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
  • Loading branch information
dependabot[bot] and zombieJ authored Mar 8, 2024
1 parent 4c89fa0 commit 67fece6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@babel/runtime": "^7.10.1",
"@rc-component/trigger": "^1.5.0",
"@rc-component/trigger": "^2.0.0",
"classnames": "^2.2.1",
"rc-overflow": "^1.3.2",
"rc-resize-observer": "^1.4.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/new-range.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ describe('NewPicker.Range', () => {
});

// Close panel to auto focus next end field
fireEvent.click(document.body);
fireEvent.mouseDown(document.body);
act(() => {
jest.runAllTimers();
});
Expand All @@ -705,7 +705,7 @@ describe('NewPicker.Range', () => {
});

// Close panel to auto focus next end field
fireEvent.click(document.body);
fireEvent.mouseDown(document.body);

act(() => {
jest.runAllTimers();
Expand Down
2 changes: 1 addition & 1 deletion tests/picker.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ describe('Picker.Basic', () => {

for (let i = 0; i < 10; i += 1) {
act(() => {
fireEvent.click(document.body);
fireEvent.mouseDown(document.body);
jest.runAllTimers();
});
expect(onOpenChange).toHaveBeenCalledTimes(i + 1);
Expand Down

0 comments on commit 67fece6

Please sign in to comment.