Skip to content

Commit

Permalink
refactor: picker trigger version (ant-design#41090)
Browse files Browse the repository at this point in the history
* refactor: picker version

* chore: update deps

* chore: bump trigger version

* test: update snapshot

* chore: fix missing deps

* test: update snapshot

* update snap

---------

Co-authored-by: 栗嘉男 <[email protected]>
  • Loading branch information
2 people authored and RedJue committed Apr 25, 2023
1 parent e0fae86 commit d76ba28
Show file tree
Hide file tree
Showing 14 changed files with 295,141 additions and 296,790 deletions.
14,366 changes: 7,177 additions & 7,189 deletions components/config-provider/__tests__/__snapshots__/components.test.tsx.snap

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions components/date-picker/__tests__/DatePicker.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ dayjs.extend(customParseFormat);

let triggerProps: TriggerProps;

jest.mock('rc-trigger', () => {
let Trigger = jest.requireActual('rc-trigger/lib/mock');
jest.mock('@rc-component/trigger', () => {
let Trigger = jest.requireActual('@rc-component/trigger/lib/mock');
Trigger = Trigger.default || Trigger;
const h: typeof React = jest.requireActual('react');

Expand Down
Loading

0 comments on commit d76ba28

Please sign in to comment.