mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
added more tests to increase coverage to 100 for protocol handler
This commit is contained in:
committed by
Kiran Niranjan
parent
7ee09ab787
commit
68efbfa0e8
@@ -45,7 +45,9 @@ class ProtocolHandler {
|
||||
}
|
||||
// This is needed for mac OS as it brings pop-outs to foreground
|
||||
// (if it has been previously focused) instead of main window
|
||||
if (isMac) activate(apiName.mainWindowName);
|
||||
if (isMac) {
|
||||
activate(apiName.mainWindowName);
|
||||
}
|
||||
|
||||
if (ProtocolHandler.isValidProtocolUri(uri)) {
|
||||
this.preloadWebContents.send('protocol-action', uri);
|
||||
|
||||
Reference in New Issue
Block a user