@@ -8,13 +8,13 @@ describe('InputNumber.Semantic', () => {
88 prefix : 'test-prefix' ,
99 input : 'test-input' ,
1010 suffix : 'test-suffix' ,
11- handle : 'test-handle' ,
11+ actions : 'test-handle' ,
1212 } ;
1313 const testStyles = {
1414 prefix : { color : 'red' } ,
1515 input : { color : 'blue' } ,
1616 suffix : { color : 'green' } ,
17- handle : { color : 'yellow' } ,
17+ actions : { color : 'yellow' } ,
1818 } ;
1919 const { container } = render (
2020 < InputNumber
@@ -28,14 +28,14 @@ describe('InputNumber.Semantic', () => {
2828 const input = container . querySelector ( '.rc-input-number' ) ! ;
2929 const prefix = container . querySelector ( '.rc-input-number-prefix' ) ! ;
3030 const suffix = container . querySelector ( '.rc-input-number-suffix' ) ! ;
31- const handle = container . querySelector ( '.rc-input-number-input-wrap' ) ! ;
31+ const actions = container . querySelector ( '.rc-input-number-input-wrap' ) ! ;
3232 expect ( input . className ) . toContain ( testClassNames . input ) ;
3333 expect ( prefix . className ) . toContain ( testClassNames . prefix ) ;
3434 expect ( suffix . className ) . toContain ( testClassNames . suffix ) ;
35- expect ( handle . className ) . toContain ( testClassNames . handle ) ;
35+ expect ( actions . className ) . toContain ( testClassNames . actions ) ;
3636 expect ( prefix . style . color ) . toBe ( testStyles . prefix . color ) ;
3737 expect ( input . style . color ) . toBe ( testStyles . input . color ) ;
3838 expect ( suffix . style . color ) . toBe ( testStyles . suffix . color ) ;
39- expect ( handle . style . color ) . toBe ( testStyles . handle . color ) ;
39+ expect ( actions . style . color ) . toBe ( testStyles . actions . color ) ;
4040 } ) ;
4141} ) ;
0 commit comments