chore: convert rpc-server to ts (#24271)
This commit is contained in:
parent
9b4572de44
commit
605e50269e
6 changed files with 31 additions and 26 deletions
|
@ -598,7 +598,7 @@ describe('chromium features', () => {
|
|||
contents.sendInputEvent({ type: 'mouseDown', clickCount: 1, x: 1, y: 1 });
|
||||
contents.sendInputEvent({ type: 'mouseUp', clickCount: 1, x: 1, y: 1 });
|
||||
const [, window] = await emittedOnce(app, 'browser-window-created');
|
||||
const preferences = (window.webContents as any).getLastWebPreferences();
|
||||
const preferences = window.webContents.getLastWebPreferences();
|
||||
expect(preferences.javascript).to.be.false();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue