Whalebird-desktop-client-ma.../spec/mock/electron.js

5 lines
139 B
JavaScript

const { ipcRenderer, ipcMain } = require('electron-ipc-mock')()
module.exports.ipcRenderer = ipcRenderer
module.exports.ipcMain = ipcMain