File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -262,15 +262,15 @@ describe('Select.Basic', () => {
262262 expect ( container . querySelector ( '.rc-select-content-has-search-value' ) ) . toBeTruthy ( ) ;
263263 } ) ;
264264
265- it ( 'should add -content-value when option has style' , ( ) => {
265+ it ( 'should add -content-has-option-style when option has style' , ( ) => {
266266 const { container } = render (
267267 < Select defaultValue = "1" >
268268 < Option value = "1" style = { { color : 'red' } } >
269269 One
270270 </ Option >
271271 </ Select > ,
272272 ) ;
273- expect ( container . querySelector ( '.rc-select-content-value ' ) ) . toBeTruthy ( ) ;
273+ expect ( container . querySelector ( '.rc-select-content-has-option-style ' ) ) . toBeTruthy ( ) ;
274274 } ) ;
275275
276276 it ( 'should default select the right option' , ( ) => {
You can’t perform that action at this time.
0 commit comments