@@ -376,7 +376,7 @@ describe('addSecondsToLocalTimestamp', () => {
376376 const timestamp = '2025-02-28T12:00:00.000' ;
377377 const timezone = 'Europe/Kiev' ;
378378 const seconds = 10 ;
379- const expected = new Date ( '2025-02-28T12:00:10.000' ) ;
379+ const expected = new Date ( '2025-02-28T12:00:10.000+0200 ' ) ;
380380
381381 expect ( addSecondsToLocalTimestamp ( timestamp , timezone , seconds ) ) . toEqual ( expected ) ;
382382 } ) ;
@@ -385,7 +385,7 @@ describe('addSecondsToLocalTimestamp', () => {
385385 const timestamp = '2025-02-28T12:00:00.000Z' ;
386386 const timezone = 'Europe/Kiev' ;
387387 const seconds = 60 ;
388- const expected = new Date ( '2025-02-28T14:01:00.000' ) ;
388+ const expected = new Date ( '2025-02-28T14:01:00.000+0200 ' ) ;
389389
390390 expect ( addSecondsToLocalTimestamp ( timestamp , timezone , seconds ) ) . toEqual ( expected ) ;
391391 } ) ;
@@ -394,7 +394,7 @@ describe('addSecondsToLocalTimestamp', () => {
394394 const timestamp = '2025-02-28T12:00:00' ;
395395 const timezone = 'Europe/Kiev' ;
396396 const seconds = 30 ;
397- const expected = new Date ( '2025-02-28T12:00:30.000' ) ;
397+ const expected = new Date ( '2025-02-28T12:00:30.000+0200 ' ) ;
398398
399399 expect ( addSecondsToLocalTimestamp ( timestamp , timezone , seconds ) ) . toEqual ( expected ) ;
400400 } ) ;
@@ -403,7 +403,7 @@ describe('addSecondsToLocalTimestamp', () => {
403403 const timestamp = '2025-02-28T12:00:00.123456Z' ;
404404 const timezone = 'Europe/Kiev' ;
405405 const seconds = 60 ;
406- const expected = new Date ( '2025-02-28T14:01:00.123456' ) ;
406+ const expected = new Date ( '2025-02-28T14:01:00.123456+0200 ' ) ;
407407
408408 expect ( addSecondsToLocalTimestamp ( timestamp , timezone , seconds ) ) . toEqual ( expected ) ;
409409 } ) ;
@@ -412,7 +412,7 @@ describe('addSecondsToLocalTimestamp', () => {
412412 const timestamp = '2025-02-28T12:00:00.000' ;
413413 const timezone = 'Europe/Kiev' ;
414414 const seconds = 100 ;
415- const expected = new Date ( '2025-02-28T12:01:40.000' ) ;
415+ const expected = new Date ( '2025-02-28T12:01:40.000+0200 ' ) ;
416416
417417 expect ( addSecondsToLocalTimestamp ( timestamp , timezone , seconds ) ) . toEqual ( expected ) ;
418418 } ) ;
@@ -421,7 +421,7 @@ describe('addSecondsToLocalTimestamp', () => {
421421 const timestamp = '2025-02-28T12:00:00.000' ;
422422 const timezone = 'Europe/Kiev' ;
423423 const seconds = 0 ;
424- const expected = new Date ( '2025-02-28T12:00:00.000' ) ;
424+ const expected = new Date ( '2025-02-28T12:00:00.000+0200 ' ) ;
425425
426426 expect ( addSecondsToLocalTimestamp ( timestamp , timezone , seconds ) ) . toEqual ( expected ) ;
427427 } ) ;
0 commit comments