1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-12 16:57:03 +01:00
Whalebird-desktop-client-ma.../spec/mock/electron.ts

8 lines
181 B
TypeScript
Raw Normal View History

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