@@ -234,15 +234,15 @@ const setEndpoints = (ev) => {
234234 ENDPOINTS . VERSION = '' ;
235235 API_PATH = '' ;
236236 }
237- const API_PORT_STR = [ 443 , 80 ] . includes ( API_PORT ) ? '' : `:${ API_PORT } ` ;
238- ENDPOINTS . CALENDARS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /calendars` ;
239- ENDPOINTS . DECREES = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /decrees` ;
240- ENDPOINTS . TESTS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /tests` ;
241- ENDPOINTS . EVENTS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /events` ;
242- ENDPOINTS . EASTER = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /easter` ;
243- ENDPOINTS . SCHEMAS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /schemas` ;
244- ENDPOINTS . MISSALS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /missals` ;
245- ENDPOINTS . DATA = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /data` ;
237+ const API_PORT_STR = [ 443 , 80 ] . includes ( API_PORT ) ? '' : `:${ API_PORT } ` ;
238+ ENDPOINTS . CALENDARS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /calendars` ;
239+ ENDPOINTS . DECREES = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /decrees` ;
240+ ENDPOINTS . TESTS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /tests` ;
241+ ENDPOINTS . EVENTS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /events` ;
242+ ENDPOINTS . EASTER = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /easter` ;
243+ ENDPOINTS . SCHEMAS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /schemas` ;
244+ ENDPOINTS . MISSALS = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /missals` ;
245+ ENDPOINTS . DATA = `${ API_PROTOCOL } ://${ API_HOST } ${ API_PORT_STR } ${ API_PATH } /data` ;
246246 console . info (
247247 `APP_ENV: ${ APP_ENV } ,
248248 API_PATH: ${ API_PATH } ,
@@ -452,13 +452,13 @@ const connectWebSocket = () => {
452452 switch ( currentState ) {
453453 case TestState . ExecutingResourceValidations :
454454 performance . mark ( 'resourceDataTestsEnd' ) ;
455- let totalSourceDataTestTime = performance . measure ( 'litcalResourceDataTestRunner' , 'resourceDataTestsStart' , 'resourceDataTestsEnd' ) ;
456- $ ( '#totalSourceDataTestsTime ' ) . text ( MsToTimeString ( Math . round ( totalSourceDataTestTime . duration ) ) ) ;
455+ let totalResourceDataTestsTime = performance . measure ( 'litcalResourceDataTestRunner' , 'resourceDataTestsStart' , 'resourceDataTestsEnd' ) ;
456+ $ ( '#totalResourceDataTestsTime ' ) . text ( MsToTimeString ( Math . round ( totalResourceDataTestsTime . duration ) ) ) ;
457457 break ;
458458 case TestState . ExecutingSourceValidations :
459459 performance . mark ( 'sourceDataTestsEnd' ) ;
460- let totalCalendarDataTestTime = performance . measure ( 'litcalSourceDataTestRunner' , 'sourceDataTestsStart' , 'sourceDataTestsEnd' ) ;
461- $ ( '#totalCalendarDataTestsTime ' ) . text ( MsToTimeString ( Math . round ( totalCalendarDataTestTime . duration ) ) ) ;
460+ let totalSourceDataTestsTime = performance . measure ( 'litcalSourceDataTestRunner' , 'sourceDataTestsStart' , 'sourceDataTestsEnd' ) ;
461+ $ ( '#totalSourceDataTestsTime ' ) . text ( MsToTimeString ( Math . round ( totalSourceDataTestsTime . duration ) ) ) ;
462462 break ;
463463 }
464464 } ;
0 commit comments