@@ -375,10 +375,12 @@ describe('Select.Multiple', () => {
375
375
} ) ;
376
376
377
377
it ( 'show static prefix' , ( ) => {
378
- render ( < Select mode = "multiple" value = { [ '' ] } prefix = "Foobar" >
379
- < Option value = { 1 } > 1</ Option >
380
- < Option value = { 2 } > 2</ Option >
381
- </ Select > ) ;
378
+ render (
379
+ < Select mode = "multiple" value = { [ '' ] } prefix = "Foobar" >
380
+ < Option value = { 1 } > 1</ Option >
381
+ < Option value = { 2 } > 2</ Option >
382
+ </ Select > ,
383
+ ) ;
382
384
383
385
expect ( screen . findByText ( 'Foobar' ) ) . toBeTruthy ( ) ;
384
386
} ) ;
@@ -459,7 +461,7 @@ describe('Select.Multiple', () => {
459
461
toggleOpen ( container ) ;
460
462
selectItem ( container , 0 ) ;
461
463
expect ( onChange ) . toHaveBeenCalledWith (
462
- [ { label : 'Light' , value : 'light' , key : 'light' } ] ,
464
+ [ { label : 'Light' , value : 'light' } ] ,
463
465
[ { label : 'Light' , value : 'light' , option : 2333 } ] ,
464
466
) ;
465
467
onChange . mockReset ( ) ;
@@ -470,8 +472,8 @@ describe('Select.Multiple', () => {
470
472
selectItem ( container , 0 ) ;
471
473
expect ( onChange ) . toHaveBeenCalledWith (
472
474
[
473
- { label : 'Light' , value : 'light' , key : 'light' } ,
474
- { label : 'Bamboo' , value : 'bamboo' , key : 'bamboo' } ,
475
+ { label : 'Light' , value : 'light' } ,
476
+ { label : 'Bamboo' , value : 'bamboo' } ,
475
477
] ,
476
478
[
477
479
{ label : 'Light' , value : 'light' , option : 2333 } ,
0 commit comments