diff options
Diffstat (limited to 'test/mocks/ipc.js')
| -rw-r--r-- | test/mocks/ipc.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js index bd99b8d680..c182d45d21 100644 --- a/test/mocks/ipc.js +++ b/test/mocks/ipc.js @@ -15,8 +15,9 @@ export function newMockIpc() { const mockIpc: IpcFacade & MockIpc = { setConnectionString: (_str: string) => {}, - getAccountData: () => { + getAccountData: (accountNumber) => { return new Promise(r => r({ + accountNumber: accountNumber, paid_until: '', })); }, |
