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

7 lines
168 B
TypeScript
Raw Normal View History

import mock from 'electron-ipc-mock'
const instance = mock()
const ipcMain = instance.ipcMain
const ipcRenderer = instance.ipcRenderer
export { ipcMain, ipcRenderer }