File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10302,15 +10302,19 @@ function retractReport(
1030210302 onyxMethod: Onyx.METHOD.MERGE,
1030310303 key: `${ONYXKEYS.COLLECTION.REPORT}${expenseReport.reportID}`,
1030410304 value: {
10305+ // @ts-expect-error - will be solved in https://github.com/Expensify/App/issues/73830
1030510306 stateNum: expenseReport.stateNum,
10307+ // @ts-expect-error - will be solved in https://github.com/Expensify/App/issues/73830
1030610308 statusNum: expenseReport.stateNum,
10309+ // @ts-expect-error - will be solved in https://github.com/Expensify/App/issues/73830
1030710310 hasReportBeenRetracted: false,
1030810311 nextStep: expenseReport.nextStep ?? null,
1030910312 pendingFields: {
10313+ // @ts-expect-error - will be solved in https://github.com/Expensify/App/issues/73830
1031010314 partial: null,
1031110315 nextStep: null,
1031210316 },
10313- } as NullishDeep<OnyxTypes.Report> ,
10317+ },
1031410318 },
1031510319 {
1031610320 onyxMethod: Onyx.METHOD.MERGE,
Original file line number Diff line number Diff line change @@ -102,15 +102,15 @@ describe('OnboardingPersonalDetails Page', () => {
102102 fireEvent . press ( screen . getByText ( TestHelper . translateLocal ( 'common.continue' ) ) ) ;
103103
104104 await waitFor ( ( ) => {
105- expect ( navigate ) . toHaveBeenCalledWith ( ROUTES . ONBOARDING_PRIVATE_DOMAIN . getRoute ( '' ) ) ;
105+ expect ( navigate ) . toHaveBeenCalledWith ( ROUTES . ONBOARDING_PRIVATE_DOMAIN . getRoute ( ) ) ;
106106 } ) ;
107107
108108 unmount ( ) ;
109109 await waitForBatchedUpdatesWithAct ( ) ;
110110 } ) ;
111111
112112 it ( 'should navigate to Onboarding workspaces page when submitting form and user is routed app via SMB with unvalidated account and private domain' , async ( ) => {
113- await TestHelper . signInWithTestUser ( 1 , fakeEmail ) ;
113+ await TestHelper . signInWithTestUser ( ) ;
114114
115115 // Setup account as private domain and has accessible policies
116116 await act ( async ( ) => {
@@ -133,7 +133,7 @@ describe('OnboardingPersonalDetails Page', () => {
133133 fireEvent . press ( screen . getByText ( TestHelper . translateLocal ( 'common.continue' ) ) ) ;
134134
135135 await waitFor ( ( ) => {
136- expect ( navigate ) . toHaveBeenCalledWith ( ROUTES . ONBOARDING_WORKSPACES . getRoute ( '' ) ) ;
136+ expect ( navigate ) . toHaveBeenCalledWith ( ROUTES . ONBOARDING_PRIVATE_DOMAIN . getRoute ( ) ) ;
137137 } ) ;
138138
139139 unmount ( ) ;
You can’t perform that action at this time.
0 commit comments