Aug 28, 2017 · 1 min read
In case anyone is interested on how to mock ipcRenderer of ElectronService without using ipcMain in unit tests, I have created a gist that contains the mock service along with an example. It simulates ipcRenderer.on() event with the use of RxJS Observables.
