mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
tests - ensure preload promises are all resolved
This commit is contained in:
parent
ec972e8acc
commit
f8c7dd64a4
|
@ -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,
|
||||
|
@ -154,6 +157,7 @@ app.on('ready', () => {
|
|||
preload: path.join(__dirname, '..', '..', '..', 'src', 'vs', 'base', 'parts', 'sandbox', 'electron-browser', 'preload.js'), // ensure similar environment as VSCode as tests may depend on this
|
||||
additionalArguments: [`--vscode-window-config=vscode:test-vscode-window-config`],
|
||||
nodeIntegration: true,
|
||||
contextIsolation: false,
|
||||
enableWebSQL: false,
|
||||
enableRemoteModule: false,
|
||||
spellcheck: false,
|
||||
|
|
Loading…
Reference in a new issue