File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 "@babel/runtime" : " ^7.11.1" ,
5050 "@rc-component/util" : " ^1.3.0" ,
5151 "clsx" : " ^2.1.1" ,
52- "rc-motion" : " ^2.4 .4"
52+ "@ rc-component/ motion" : " ^1.1 .4"
5353 },
5454 "devDependencies" : {
5555 "@rc-component/father-plugin" : " ^2.0.1" ,
Original file line number Diff line number Diff line change 1+ import CSSMotion from '@rc-component/motion' ;
12import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect' ;
23import { composeRef } from '@rc-component/util/lib/ref' ;
34import { clsx } from 'clsx' ;
4- import CSSMotion from 'rc-motion' ;
55import * as React from 'react' ;
66import type { SegmentedValue } from '.' ;
77
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import userEvent from '@testing-library/user-event';
33import * as React from 'react' ;
44import Segmented from '../src' ;
55
6- jest . mock ( 'rc-motion/lib/util/motion' , ( ) => {
6+ jest . mock ( '@ rc-component/ motion/lib/util/motion' , ( ) => {
77 return {
8- ...jest . requireActual ( 'rc-motion/lib/util/motion' ) ,
8+ ...jest . requireActual ( '@ rc-component/ motion/lib/util/motion' ) ,
99 supportTransition : true ,
1010 } ;
1111} ) ;
You can’t perform that action at this time.
0 commit comments