Do not append extra / in resolveRelPath

This commit is contained in:
Martin Maroši 2022-11-28 11:30:50 +01:00 committed by Lucas Garfield
parent 122176ecbe
commit aa0a21301c
4 changed files with 9 additions and 9 deletions

View file

@ -205,7 +205,7 @@ describe('Create Share To Regions Modal', () => {
// returns back to the landing page
await waitFor(() =>
expect(history.location.pathname).toBe('/insights/image-builder/')
expect(history.location.pathname).toBe('/insights/image-builder')
);
});
@ -218,7 +218,7 @@ describe('Create Share To Regions Modal', () => {
// returns back to the landing page
await waitFor(() =>
expect(history.location.pathname).toBe('/insights/image-builder/')
expect(history.location.pathname).toBe('/insights/image-builder')
);
});
@ -288,7 +288,7 @@ describe('Create Share To Regions Modal', () => {
// returns back to the landing page
await waitFor(() =>
expect(history.location.pathname).toBe('/insights/image-builder/')
expect(history.location.pathname).toBe('/insights/image-builder')
);
// Clone has been added to its parent's list of clones