Add general override for behavioural tests

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-tursoandJanne Savolainen authored and Janne Savolainen committed 2022-05-11 08:25:33 +03:00
1 parent 823cab8170
commit 2e58058904
1 file changed
+2
+2
View File
@@ -84,6 +84,8 @@ export const overrideIpcBridge = ({
windowManagerInjectable,
() =>
({
ensureMainWindow: () => Promise.resolve(),
sendToView: ({ channel: channelName, data }: SendToViewArgs) => {
const handles = rendererIpcFakeHandles.get(channelName);