@@ -375,10 +375,12 @@ describe('Select.Multiple', () => {
375375 } ) ;
376376
377377 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+ ) ;
382384
383385 expect ( screen . findByText ( 'Foobar' ) ) . toBeTruthy ( ) ;
384386 } ) ;
@@ -459,7 +461,7 @@ describe('Select.Multiple', () => {
459461 toggleOpen ( container ) ;
460462 selectItem ( container , 0 ) ;
461463 expect ( onChange ) . toHaveBeenCalledWith (
462- [ { label : 'Light' , value : 'light' , key : 'light' } ] ,
464+ [ { label : 'Light' , value : 'light' } ] ,
463465 [ { label : 'Light' , value : 'light' , option : 2333 } ] ,
464466 ) ;
465467 onChange . mockReset ( ) ;
@@ -470,8 +472,8 @@ describe('Select.Multiple', () => {
470472 selectItem ( container , 0 ) ;
471473 expect ( onChange ) . toHaveBeenCalledWith (
472474 [
473- { label : 'Light' , value : 'light' , key : 'light' } ,
474- { label : 'Bamboo' , value : 'bamboo' , key : 'bamboo' } ,
475+ { label : 'Light' , value : 'light' } ,
476+ { label : 'Bamboo' , value : 'bamboo' } ,
475477 ] ,
476478 [
477479 { label : 'Light' , value : 'light' , option : 2333 } ,
0 commit comments