2019-07-07 18:51:06 +02:00
|
|
|
import createIPCMock from 'electron-mock-ipc'
|
2019-11-20 15:36:11 +01:00
|
|
|
import { IpcRenderer, IpcMain } from 'electron'
|
2019-07-07 18:51:06 +02:00
|
|
|
|
|
|
|
const mocked = createIPCMock()
|
2019-11-20 15:36:11 +01:00
|
|
|
const ipcMain = mocked.ipcMain as IpcMain
|
|
|
|
const ipcRenderer = mocked.ipcRenderer as IpcRenderer
|
2019-03-25 13:51:24 +01:00
|
|
|
|
|
|
|
export { ipcMain, ipcRenderer }
|