@@ -38,14 +38,14 @@ describe('actions/Tour', () => {
3838 describe ( 'startTestDrive' , ( ) => {
3939 describe ( 'migrated users' , ( ) => {
4040 it ( 'should show the Test Drive demo if user has been nudged to migrate' , async ( ) => {
41- startTestDrive ( undefined , false , true , false , undefined , undefined , false , 2 ) ;
41+ startTestDrive ( undefined , true , false ) ;
4242 await waitForBatchedUpdates ( ) ;
4343
4444 expect ( Navigation . navigate ) . toHaveBeenCalledWith ( ROUTES . TEST_DRIVE_DEMO_ROOT ) ;
4545 } ) ;
4646
4747 it ( "should show the Test Drive demo if user doesn't have the nudge flag but is member of a paid policy" , async ( ) => {
48- startTestDrive ( undefined , false , false , true , undefined , undefined , false , 2 ) ;
48+ startTestDrive ( undefined , false , true ) ;
4949 await waitForBatchedUpdates ( ) ;
5050
5151 expect ( Navigation . navigate ) . toHaveBeenCalledWith ( ROUTES . TEST_DRIVE_DEMO_ROOT ) ;
@@ -86,14 +86,14 @@ describe('actions/Tour', () => {
8686 it . each ( onboardingChoices . filter ( ( choice ) => onboardingDemoChoices . includes ( choice ) ) ) ( 'should show the Test Drive demo if user has "%s" onboarding choice' , async ( choice ) => {
8787 await setTestDriveTaskData ( ) ;
8888
89- startTestDrive ( { choice} , false , false , false , testDriveTaskReport , conciergeChatReport , false , accountID ) ;
89+ startTestDrive ( { choice} , false , false ) ;
9090 await waitForBatchedUpdates ( ) ;
9191
9292 expect ( Navigation . navigate ) . toHaveBeenCalledWith ( ROUTES . TEST_DRIVE_DEMO_ROOT ) ;
9393 } ) ;
9494
9595 it . each ( onboardingChoices . filter ( ( choice ) => ! onboardingDemoChoices . includes ( choice ) ) ) ( 'should show the Test Drive modal if user has "%s" onboarding choice' , async ( choice ) => {
96- startTestDrive ( { choice} , false , false , false , undefined , undefined , false , accountID ) ;
96+ startTestDrive ( { choice} , false , false ) ;
9797 await waitForBatchedUpdates ( ) ;
9898
9999 expect ( Navigation . navigate ) . toHaveBeenCalledWith ( ROUTES . TEST_DRIVE_MODAL_ROOT . route ) ;
@@ -102,23 +102,14 @@ describe('actions/Tour', () => {
102102 it ( 'should show the Test Drive demo if user is an invited employee' , async ( ) => {
103103 await setTestDriveTaskData ( ) ;
104104
105- startTestDrive (
106- { choice : CONST . ONBOARDING_CHOICES . SUBMIT , inviteType : CONST . ONBOARDING_INVITE_TYPES . WORKSPACE } ,
107- false ,
108- false ,
109- false ,
110- testDriveTaskReport ,
111- conciergeChatReport ,
112- false ,
113- accountID ,
114- ) ;
105+ startTestDrive ( { choice : CONST . ONBOARDING_CHOICES . SUBMIT , inviteType : CONST . ONBOARDING_INVITE_TYPES . WORKSPACE } , false , false ) ;
115106 await waitForBatchedUpdates ( ) ;
116107
117108 expect ( Navigation . navigate ) . toHaveBeenCalledWith ( ROUTES . TEST_DRIVE_DEMO_ROOT ) ;
118109 } ) ;
119110
120111 it ( 'should show the Test Drive demo if user is member of a paid policy' , async ( ) => {
121- startTestDrive ( { choice : CONST . ONBOARDING_CHOICES . LOOKING_AROUND } , false , false , true , testDriveTaskReport , conciergeChatReport , false , accountID ) ;
112+ startTestDrive ( { choice : CONST . ONBOARDING_CHOICES . LOOKING_AROUND } , false , true ) ;
122113 await waitForBatchedUpdates ( ) ;
123114
124115 expect ( Navigation . navigate ) . toHaveBeenCalledWith ( ROUTES . TEST_DRIVE_DEMO_ROOT ) ;
0 commit comments