Skip to content

Commit

Permalink
feat: add IPC channel mock
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Jun 5, 2024
1 parent 8a2fe9a commit aa6dddd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion electron/test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
const { setupDarwin } = require("./install")

ipcChannel = Object()
ipcChannel = {
send: function (channel, message) {
console.log(`${channel} -> ${message}`)
}
}

setupDarwin(ipcChannel)

0 comments on commit aa6dddd

Please sign in to comment.