1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-29 02:02:37 +01:00
Whalebird-desktop-client-ma.../spec/mock/electron.ts
2019-07-08 01:51:06 +09:00

8 lines
181 B
TypeScript

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