Lines Matching refs:getRedirectPath
1 import { getRedirectPath } from './error-utilities';
5 const newPath = getRedirectPath(redirectPath);
10 expect(getRedirectPath('/versions/latest/guides/building-standalone-apps/')).toEqual(newPath);
15 const newPath = getRedirectPath(redirectPath);
22 const newPath = getRedirectPath(redirectPath);
29 const newPath = getRedirectPath(redirectPath);
36 const newPath = getRedirectPath(redirectPath);
43 const newPath = getRedirectPath(redirectPath);
50 const newPath = getRedirectPath(redirectPath);
57 const newPath = getRedirectPath(redirectPath);
64 const newPath = getRedirectPath(redirectPath);
71 const newPath = getRedirectPath(redirectPath);
77 expect(getRedirectPath('/versions/v40.0.0/sdk/permissions/')).toEqual('/guides/permissions/');
78 expect(getRedirectPath('/versions/v41.0.0/sdk/permissions/')).toEqual('/guides/permissions/');
79 expect(getRedirectPath('/versions/v42.0.0/sdk/permissions/')).toEqual('/guides/permissions/');
80 expect(getRedirectPath('/versions/v43.0.0/sdk/permissions/')).toEqual('/guides/permissions/');
81 expect(getRedirectPath('/versions/latest/sdk/permissions/')).toEqual('/guides/permissions/');