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
|
@ -2213,7 +2213,7 @@ describe('BrowserWindow module', () => {
|
|||
emittedOnce(app, 'web-contents-created'),
|
||||
emittedOnce(ipcMain, 'answer')
|
||||
]);
|
||||
const webPreferences = (childWebContents as any).getLastWebPreferences();
|
||||
const webPreferences = childWebContents.getLastWebPreferences();
|
||||
expect(webPreferences.foo).to.equal('bar');
|
||||
});
|
||||
|
||||
|
@ -2530,7 +2530,7 @@ describe('BrowserWindow module', () => {
|
|||
emittedOnce(app, 'web-contents-created'),
|
||||
emittedOnce(ipcMain, 'answer')
|
||||
]);
|
||||
const webPreferences = (childWebContents as any).getLastWebPreferences();
|
||||
const webPreferences = childWebContents.getLastWebPreferences();
|
||||
expect(webPreferences.foo).to.equal('bar');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue