@@ -118,9 +118,9 @@ describe('Sidebar', () => {
118118 const report3 = LHNTestUtils . getFakeReport ( [ 1 , 4 ] , 1 ) ;
119119
120120 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
121- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
122- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
123- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
121+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
122+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
123+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
124124
125125 const reportCollectionDataSet : ReportCollectionDataSet = {
126126 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ report1 . reportID } ` ] : report1 ,
@@ -166,9 +166,9 @@ describe('Sidebar', () => {
166166 const report3 = LHNTestUtils . getFakeReport ( [ 1 , 4 ] , 1 ) ;
167167
168168 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
169- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
170- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
171- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
169+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
170+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
171+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
172172
173173 const currentReportId = report1 . reportID ;
174174 const reportCollectionDataSet : ReportCollectionDataSet = {
@@ -215,9 +215,9 @@ describe('Sidebar', () => {
215215 const report3 = LHNTestUtils . getFakeReport ( [ 1 , 4 ] , 1 ) ;
216216
217217 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
218- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
219- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
220- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
218+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
219+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
220+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
221221
222222 const reportCollectionDataSet : ReportCollectionDataSet = {
223223 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ report1 . reportID } ` ] : report1 ,
@@ -276,9 +276,9 @@ describe('Sidebar', () => {
276276 } ;
277277
278278 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
279- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
280- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
281- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
279+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
280+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
281+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
282282
283283 const reportCollectionDataSet : ReportCollectionDataSet = {
284284 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ report1 . reportID } ` ] : report1 ,
@@ -350,9 +350,9 @@ describe('Sidebar', () => {
350350 report3 . iouReportID = iouReport . reportID ;
351351
352352 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
353- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
354- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
355- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
353+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
354+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
355+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
356356
357357 const reportCollectionDataSet : ReportCollectionDataSet = {
358358 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ report1 . reportID } ` ] : report1 ,
@@ -429,9 +429,9 @@ describe('Sidebar', () => {
429429 report3 . iouReportID = expenseReport . reportID ;
430430
431431 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
432- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
433- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
434- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
432+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
433+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
434+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
435435
436436 const reportCollectionDataSet : ReportCollectionDataSet = {
437437 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ report1 . reportID } ` ] : report1 ,
@@ -479,9 +479,9 @@ describe('Sidebar', () => {
479479 const report3 = LHNTestUtils . getFakeReport ( [ 1 , 4 ] , 1 ) ;
480480
481481 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
482- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
483- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
484- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
482+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
483+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
484+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
485485
486486 const currentReportId = report2 . reportID ;
487487
@@ -628,7 +628,7 @@ describe('Sidebar', () => {
628628 iouReportID : undefined ,
629629 } ;
630630 const report4 = LHNTestUtils . getFakeReport ( [ 1 , 5 ] , 1 ) ;
631- addComment ( report4 . reportID , 'Hi, this is a comment' ) ;
631+ addComment ( report4 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
632632
633633 const iouReport : OnyxTypes . Report = {
634634 ...LHNTestUtils . getFakeReport ( [ 1 , 4 ] ) ,
@@ -848,9 +848,9 @@ describe('Sidebar', () => {
848848 const report3 = LHNTestUtils . getFakeReport ( [ 1 , 4 ] ) ;
849849
850850 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
851- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
852- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
853- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
851+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
852+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
853+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
854854
855855 // Given the user is in all betas
856856 const betas = [ CONST . BETAS . DEFAULT_ROOMS ] ;
@@ -902,9 +902,9 @@ describe('Sidebar', () => {
902902 const report3 : OnyxTypes . Report = LHNTestUtils . getFakeReport ( [ 1 , 4 ] ) ;
903903
904904 // Each report has at least one ADD_COMMENT action so should be rendered in the LNH
905- addComment ( report1 . reportID , 'Hi, this is a comment' ) ;
906- addComment ( report2 . reportID , 'Hi, this is a comment' ) ;
907- addComment ( report3 . reportID , 'Hi, this is a comment' ) ;
905+ addComment ( report1 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
906+ addComment ( report2 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
907+ addComment ( report3 . reportID , 'Hi, this is a comment' , CONST . DEFAULT_TIME_ZONE ) ;
908908
909909 const reportCollectionDataSet : ReportCollectionDataSet = {
910910 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ report1 . reportID } ` ] : report1 ,
0 commit comments