@@ -493,7 +493,7 @@ suite('InputSliderBlockConverter', () => {
493493 converter . applyChangesToBlock ( block , cell ) ;
494494
495495 assert . strictEqual ( block . content , '' ) ;
496- assert . strictEqual ( block . metadata ?. deepnote_variable_value , 7 ) ;
496+ assert . strictEqual ( block . metadata ?. deepnote_variable_value , '7' ) ;
497497 // Other metadata should be preserved
498498 assert . strictEqual ( block . metadata ?. deepnote_variable_name , 'slider1' ) ;
499499 assert . strictEqual ( block . metadata ?. deepnote_slider_min_value , 0 ) ;
@@ -516,7 +516,7 @@ suite('InputSliderBlockConverter', () => {
516516
517517 converter . applyChangesToBlock ( block , cell ) ;
518518
519- assert . strictEqual ( block . metadata ?. deepnote_variable_value , 42 ) ;
519+ assert . strictEqual ( block . metadata ?. deepnote_variable_value , '42' ) ;
520520 } ) ;
521521
522522 test ( 'handles invalid numeric value' , ( ) => {
@@ -536,7 +536,7 @@ suite('InputSliderBlockConverter', () => {
536536 converter . applyChangesToBlock ( block , cell ) ;
537537
538538 // Should fall back to existing value (parsed as number)
539- assert . strictEqual ( block . metadata ?. deepnote_variable_value , 5 ) ;
539+ assert . strictEqual ( block . metadata ?. deepnote_variable_value , '5' ) ;
540540 } ) ;
541541 } ) ;
542542} ) ;
0 commit comments