@@ -10,8 +10,8 @@ describe('getExtremesPrediction', () => {
1010 const { predictions } = getExtremesPrediction ( {
1111 lat : 26.7 ,
1212 lon : - 80.05 ,
13- start : new Date ( '2025-12-17 00 :00' ) ,
14- end : new Date ( '2025-12-18 00 :00' ) ,
13+ start : new Date ( '2025-12-17T05 :00:00Z ' ) ,
14+ end : new Date ( '2025-12-18T05 :00:00Z ' ) ,
1515 timeFidelity : 6 ,
1616 datum : 'MLLW'
1717 } )
@@ -31,8 +31,8 @@ describe('getExtremesPrediction', () => {
3131 test ( `accepts position with ${ Object . keys ( position ) . join ( '/' ) } ` , ( ) => {
3232 const { predictions } = getExtremesPrediction ( {
3333 ...position ,
34- start : new Date ( '2025-12-17 00 :00' ) ,
35- end : new Date ( '2025-12-18 00 :00' )
34+ start : new Date ( '2025-12-17T05 :00:00Z ' ) ,
35+ end : new Date ( '2025-12-18T05 :00:00Z ' )
3636 } )
3737 expect ( predictions . length ) . toBe ( 4 )
3838 } )
@@ -50,8 +50,8 @@ describe('nearestStation', () => {
5050 test ( 'can return extremes from station' , ( ) => {
5151 const station = nearestStation ( { lat : 26.7 , lon : - 80.05 } )
5252
53- const start = new Date ( '2025-12-17 00 :00' )
54- const end = new Date ( '2025-12-18 00 :00' )
53+ const start = new Date ( '2025-12-17T05 :00:00Z ' )
54+ const end = new Date ( '2025-12-18T05 :00:00Z ' )
5555
5656 const { predictions } = station . getExtremesPrediction ( {
5757 start,
0 commit comments