mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: replace (webContents as any).destroy() with webContents.destroy() (#36653)
Co-authored-by: Milan Burda <miburda@microsoft.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
@@ -790,7 +790,7 @@ describe('node feature', () => {
|
||||
}
|
||||
})`))
|
||||
.then(() => {
|
||||
(w as any).destroy();
|
||||
w.destroy();
|
||||
child.send('plz-quit');
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user