@@ -65,7 +65,7 @@ describe('OrganizationCrumb', function () {
65
65
renderComponent ( { routes, route} ) ;
66
66
await switchOrganization ( ) ;
67
67
68
- expect ( router . push ) . toHaveBeenCalledWith ( '/settings/org-slug2/' ) ;
68
+ expect ( router . push ) . toHaveBeenCalledWith ( { pathname : '/settings/org-slug2/' } ) ;
69
69
} ) ;
70
70
71
71
it ( 'switches organizations while on API Keys Details route' , async function ( ) {
@@ -86,7 +86,7 @@ describe('OrganizationCrumb', function () {
86
86
renderComponent ( { routes, route} ) ;
87
87
await switchOrganization ( ) ;
88
88
89
- expect ( router . push ) . toHaveBeenCalledWith ( '/settings/org-slug2/api-keys/' ) ;
89
+ expect ( router . push ) . toHaveBeenCalledWith ( { pathname : '/settings/org-slug2/api-keys/' } ) ;
90
90
} ) ;
91
91
92
92
it ( 'switches organizations while on API Keys List route' , async function ( ) {
@@ -106,7 +106,7 @@ describe('OrganizationCrumb', function () {
106
106
renderComponent ( { routes, route} ) ;
107
107
await switchOrganization ( ) ;
108
108
109
- expect ( router . push ) . toHaveBeenCalledWith ( '/settings/org-slug2/api-keys/' ) ;
109
+ expect ( router . push ) . toHaveBeenCalledWith ( { pathname : '/settings/org-slug2/api-keys/' } ) ;
110
110
} ) ;
111
111
112
112
it ( 'switches organizations while in Project Client Keys Details route' , async function ( ) {
@@ -128,7 +128,7 @@ describe('OrganizationCrumb', function () {
128
128
} ) ;
129
129
await switchOrganization ( ) ;
130
130
131
- expect ( router . push ) . toHaveBeenCalledWith ( '/settings/org-slug2/' ) ;
131
+ expect ( router . push ) . toHaveBeenCalledWith ( { pathname : '/settings/org-slug2/' } ) ;
132
132
} ) ;
133
133
134
134
it ( 'switches organizations for child route with customer domains' , async function ( ) {
0 commit comments