electron-ipc-mock
Mock Communication for Electron's IPC
An API mimicking Electron's ipcMain and ipcRenderer. Swap out electron calls in your code in tests to access both mock renderer and main process IPC communication calls.
Install
npm install electron-ipc-mock
Usage
const ipcRenderer ipcMain = ; ipcMain; ipcRenderer; ipcRenderer
Testing
npm test
License
MIT License, Copyright (c) 2016 Jordan Santell