mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
parent
823cab8170
commit
2e58058904
@ -84,6 +84,8 @@ export const overrideIpcBridge = ({
|
|||||||
windowManagerInjectable,
|
windowManagerInjectable,
|
||||||
() =>
|
() =>
|
||||||
({
|
({
|
||||||
|
ensureMainWindow: () => Promise.resolve(),
|
||||||
|
|
||||||
sendToView: ({ channel: channelName, data }: SendToViewArgs) => {
|
sendToView: ({ channel: channelName, data }: SendToViewArgs) => {
|
||||||
const handles = rendererIpcFakeHandles.get(channelName);
|
const handles = rendererIpcFakeHandles.get(channelName);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user