[MM-53056] Force a pathname when checking for deep links (#2748)

This commit is contained in:
Devin Binnie
2023-06-07 11:16:04 -04:00
committed by GitHub
parent 1db2828a93
commit a7c25ee95e
4 changed files with 7 additions and 5 deletions

View File

@@ -50,6 +50,7 @@ jest.mock('common/utils/url', () => ({
return null;
}
},
getFormattedPathName: (pathname) => (pathname.length ? pathname : '/'),
equalUrlsIgnoringSubpath: jest.fn(),
}));