Skip to content

Commit

Permalink
chore: no-op ipc in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Apr 9, 2021
1 parent 9e07d07 commit 688f820
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/electron/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ app.on('ready', () => {
};
});

// No-op since invoke the IPC as part of IIFE in the preload.
ipcMain.handle('vscode:fetchShellEnv', event => { });

const win = new BrowserWindow({
height: 600,
width: 800,
Expand Down

0 comments on commit 688f820

Please sign in to comment.