[MM-53056] Force a pathname when checking for deep links (#2748)
This commit is contained in:
@@ -13,6 +13,7 @@ jest.mock('common/config', () => ({
|
||||
jest.mock('common/utils/url', () => ({
|
||||
parseURL: jest.fn(),
|
||||
isInternalURL: jest.fn(),
|
||||
getFormattedPathName: (pathname) => (pathname.length ? pathname : '/'),
|
||||
}));
|
||||
jest.mock('common/utils/util', () => ({
|
||||
isVersionGreaterThanOrEqualTo: jest.fn(),
|
||||
|
Reference in New Issue
Block a user