electron/spec/fixtures/module/empty.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
145 B
JavaScript
Raw Normal View History

const { ipcRenderer } = require('electron');
window.addEventListener('message', (event) => {
ipcRenderer.send('leak-result', event.data);
});