Skip to content

Commit

Permalink
build escape mechanism for passing a secret path to gopass via shell …
Browse files Browse the repository at this point in the history
…+ basic unit/integration testing for gopass bridge
  • Loading branch information
Jonas Verhoelen committed Apr 17, 2020
1 parent d824b80 commit a2bf42e
Show file tree
Hide file tree
Showing 7 changed files with 479 additions and 12 deletions.
8 changes: 8 additions & 0 deletions __mocks__/electron.ts
@@ -0,0 +1,8 @@
import createIPCMock from 'electron-mock-ipc'
import { IpcRenderer, IpcMain } from 'electron'

const mocked = createIPCMock()
const ipcMain = mocked.ipcMain as IpcMain
const ipcRenderer = mocked.ipcRenderer as IpcRenderer

export { ipcMain, ipcRenderer }

0 comments on commit a2bf42e

Please sign in to comment.