[MM-54465] Remove lowercase call when checking path names (#2831)

This commit is contained in:
Devin Binnie
2023-09-15 10:20:28 -04:00
committed by GitHub
parent ce1447591d
commit 128d15a283
4 changed files with 4 additions and 9 deletions

View File

@@ -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',