File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/components/src/range-control/test Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ describe.each( [
3333 [ 'uncontrolled' , RangeControl ] ,
3434 [ 'controlled' , ControlledRangeControl ] ,
3535] ) ( 'RangeControl %s' , ( ...modeAndComponent ) => {
36- const [ , Component ] = modeAndComponent ;
36+ const [ mode , Component ] = modeAndComponent ;
3737
3838 describe ( '#render()' , ( ) => {
3939 it ( 'should trigger change callback with numeric value' , ( ) => {
@@ -306,6 +306,7 @@ describe.each( [
306306 allowReset = { true }
307307 onChange = { spy }
308308 { ...propsForReset }
309+ value = { mode === 'controlled' ? 89 : undefined }
309310 />
310311 ) ;
311312
@@ -328,6 +329,7 @@ describe.each( [
328329 max = { 100 }
329330 allowReset = { true }
330331 resetFallbackValue = { undefined }
332+ value = { mode === 'controlled' ? 89 : undefined }
331333 />
332334 ) ;
333335
You can’t perform that action at this time.
0 commit comments