@@ -53,7 +53,7 @@ describe('requestAutoInvite', () => {
5353 const nextState = makeTypedState ( reducer ( state , action ) )
5454 expect ( nextState . signup . inviteCode ) . toEqual ( action . payload . inviteCode )
5555 expect ( _testing . showInviteScreen ( ) ) . toEqual (
56- RouteTreeGen . createNavigateAppend ( { parentPath : [ loginTab ] , path : [ 'signupInviteCode' ] } )
56+ RouteTreeGen . createNavigateAppend ( { path : [ 'signupInviteCode' ] } )
5757 )
5858 } )
5959
@@ -62,7 +62,7 @@ describe('requestAutoInvite', () => {
6262 const nextState = makeTypedState ( reducer ( state , action ) )
6363 expect ( nextState ) . toEqual ( makeTypedState ( state ) )
6464 expect ( _testing . showInviteScreen ( ) ) . toEqual (
65- RouteTreeGen . createNavigateAppend ( { parentPath : [ loginTab ] , path : [ 'signupInviteCode' ] } )
65+ RouteTreeGen . createNavigateAppend ( { path : [ 'signupInviteCode' ] } )
6666 )
6767 } )
6868} )
@@ -82,7 +82,7 @@ describe('requestInvite', () => {
8282 expect ( nextState . signup . email ) . toEqual ( action . payload . email )
8383 expect ( nextState . signup . name ) . toEqual ( action . payload . name )
8484 expect ( _testing . showInviteSuccessOnNoErrors ( nextState ) ) . toEqual (
85- RouteTreeGen . createNavigateAppend ( { parentPath : [ loginTab ] , path : [ 'signupRequestInviteSuccess' ] } )
85+ RouteTreeGen . createNavigateAppend ( { path : [ 'signupRequestInviteSuccess' ] } )
8686 )
8787 } )
8888
@@ -132,7 +132,7 @@ describe('checkInviteCode', () => {
132132 // leaves state alone
133133 expect ( nextState ) . toEqual ( makeTypedState ( state ) )
134134 // expect(_testing.showUserOnNoErrors(nextState)).toEqual(
135- // RouteTreeGen.createNavigateAppend({parentPath: [loginTab], path: ['signupUsernameAndEmail']})
135+ // RouteTreeGen.createNavigateAppend({ path: ['signupUsernameAndEmail']})
136136 // )
137137 } )
138138 it ( "shows error on fail: must match invite code. doesn't go to next screen" , ( ) => {
@@ -212,7 +212,7 @@ describe('checkedUsername', () => {
212212 } )
213213 const nextState = makeTypedState ( reducer ( state , action ) )
214214 expect ( _testing . showDeviceScreenOnNoErrors ( nextState ) ) . toEqual (
215- RouteTreeGen . createNavigateAppend ( { parentPath : [ loginTab ] , path : [ 'signupEnterDevicename' ] } )
215+ RouteTreeGen . createNavigateAppend ( { path : [ 'signupEnterDevicename' ] } )
216216 )
217217 } )
218218} )
@@ -343,7 +343,7 @@ describe('actually sign up', () => {
343343 const nextState = makeTypedState ( reducer ( state , action ) )
344344 expect ( nextState . signup . signupError ) . toEqual ( action . payload . error )
345345 expect ( _testing . showErrorOrCleanupAfterSignup ( nextState ) ) . toEqual (
346- RouteTreeGen . createNavigateAppend ( { parentPath : [ loginTab ] , path : [ 'signupError' ] } )
346+ RouteTreeGen . createNavigateAppend ( { path : [ 'signupError' ] } )
347347 )
348348 } )
349349
0 commit comments