[MM-54465] Remove lowercase call when checking path names (#2831)
This commit is contained in:
@@ -241,7 +241,7 @@ describe('main/windows/callsWidgetWindow', () => {
|
||||
beforeEach(() => {
|
||||
urlUtils.parseURL.mockImplementation((url) => new URL(url));
|
||||
urlUtils.getFormattedPathName.mockImplementation((pn) => {
|
||||
return pn.endsWith('/') ? pn.toLowerCase() : `${pn.toLowerCase()}/`;
|
||||
return pn.endsWith('/') ? pn : `${pn}/`;
|
||||
});
|
||||
callsWidgetWindow.options = {
|
||||
callID: 'test-call-id',
|
||||
|
Reference in New Issue
Block a user