electron/spec/fixtures/module/preload-remote.js

5 lines
129 B
JavaScript

const { ipcRenderer, remote } = require('electron')
window.onload = function () {
ipcRenderer.send('remote', typeof remote)
}