@@ -36,12 +36,6 @@ jest.mock('@libs/API');
3636jest . mock ( '@libs/Navigation/Navigation' ) ;
3737jest . mock ( '@libs/Sound' ) ;
3838jest . mock ( '@libs/ErrorUtils' ) ;
39- // Do not mock ReportActionsUtils to avoid breaking other tests
40- jest . mock ( '@libs/DateUtils' ) ;
41- jest . mock ( '@libs/OptionsListUtils' ) ;
42- jest . mock ( '@libs/PersonalDetailsUtils' ) ;
43- jest . mock ( '@libs/LocalePhoneNumber' ) ;
44- jest . mock ( '@libs/actions/Report' ) ;
4539jest . mock ( '@libs/actions/Welcome' ) ;
4640// Keep OnyxDerived real initialization below
4741jest . mock ( '@components/Icon/Expensicons' ) ;
@@ -284,8 +278,8 @@ describe('actions/Task', () => {
284278 } ) ;
285279
286280 describe ( 'getFinishOnboardingTaskOnyxData' , ( ) => {
287- const parentReport : Report = { ... getFakeReport ( ) , type : CONST . REPORT . TYPE . CHAT } ;
288- const taskReport : Report = { ...getFakeReport ( ) , type : CONST . REPORT . TYPE . TASK , ownerAccountID : 1 , managerID : 2 , parentReportID : parentReport . reportID , stateNum : CONST . REPORT . STATE_NUM . OPEN , statusNum : CONST . REPORT . STATUS_NUM . OPEN } ;
281+ const parentReport : Report = getFakeReport ( ) ;
282+ const taskReport : Report = { ...getFakeReport ( ) , type : CONST . REPORT . TYPE . TASK , ownerAccountID : 1 , managerID : 2 , parentReportID : parentReport . reportID } ;
289283 const reportCollectionDataSet : ReportCollectionDataSet = {
290284 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ taskReport . reportID } ` ] : taskReport ,
291285 [ `${ ONYXKEYS . COLLECTION . REPORT } ${ parentReport . reportID } ` ] : parentReport ,
0 commit comments