@@ -407,7 +407,7 @@ describe("CalendarPropsBuilder multi-day time formats", () => {
407407 const buildWithTimeFormat = ( timeFormatValue : string ) => {
408408 const props = {
409409 ...customViewProps ,
410- timeFormat : dynamic ( timeFormatValue )
410+ timeFormat : dynamic . available ( timeFormatValue )
411411 } ;
412412 const builder = new CalendarPropsBuilder ( props ) ;
413413 return builder . build ( mockLocalizer , "en" ) ;
@@ -472,8 +472,8 @@ describe("CalendarPropsBuilder showEventDate hides multi-day formats", () => {
472472 it ( "blanks eventTimeRangeStartFormat when showEventDate=false" , ( ) => {
473473 const props = {
474474 ...customViewProps ,
475- showEventDate : dynamic ( false ) ,
476- timeFormat : dynamic ( "HH:mm" )
475+ showEventDate : dynamic . available ( false ) ,
476+ timeFormat : dynamic . available ( "HH:mm" )
477477 } ;
478478 const builder = new CalendarPropsBuilder ( props ) ;
479479 const result = builder . build ( mockLocalizer , "en" ) ;
@@ -489,8 +489,8 @@ describe("CalendarPropsBuilder showEventDate hides multi-day formats", () => {
489489 it ( "blanks eventTimeRangeEndFormat when showEventDate=false" , ( ) => {
490490 const props = {
491491 ...customViewProps ,
492- showEventDate : dynamic ( false ) ,
493- timeFormat : dynamic ( "HH:mm" )
492+ showEventDate : dynamic . available ( false ) ,
493+ timeFormat : dynamic . available ( "HH:mm" )
494494 } ;
495495 const builder = new CalendarPropsBuilder ( props ) ;
496496 const result = builder . build ( mockLocalizer , "en" ) ;
@@ -506,8 +506,8 @@ describe("CalendarPropsBuilder showEventDate hides multi-day formats", () => {
506506 it ( "blanks eventTimeRangeFormat when showEventDate=false" , ( ) => {
507507 const props = {
508508 ...customViewProps ,
509- showEventDate : dynamic ( false ) ,
510- timeFormat : dynamic ( "HH:mm" )
509+ showEventDate : dynamic . available ( false ) ,
510+ timeFormat : dynamic . available ( "HH:mm" )
511511 } ;
512512 const builder = new CalendarPropsBuilder ( props ) ;
513513 const result = builder . build ( mockLocalizer , "en" ) ;
@@ -523,8 +523,8 @@ describe("CalendarPropsBuilder showEventDate hides multi-day formats", () => {
523523 it ( "preserves all time range formats when showEventDate=true" , ( ) => {
524524 const props = {
525525 ...customViewProps ,
526- showEventDate : dynamic ( true ) ,
527- timeFormat : dynamic ( "p" )
526+ showEventDate : dynamic . available ( true ) ,
527+ timeFormat : dynamic . available ( "p" )
528528 } ;
529529 const builder = new CalendarPropsBuilder ( props ) ;
530530 const result = builder . build ( mockLocalizer , "en" ) ;
0 commit comments