diff options
Diffstat (limited to 'test/mocks/ipc.js')
| -rw-r--r-- | test/mocks/ipc.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js index cd8dc9fbac..590313ec13 100644 --- a/test/mocks/ipc.js +++ b/test/mocks/ipc.js @@ -78,8 +78,8 @@ export function newMockIpc() { }, sendNewState: (state: BackendState) => { - for (const l of stateListeners) { - l(state); + for (const listener of stateListeners) { + listener(state); } }, @@ -94,8 +94,8 @@ export function newMockIpc() { removeAccountFromHistory: (_accountToken) => Promise.resolve(), killWebSocket: () => { - for (const l of connectionCloseListeners) { - l(); + for (const listener of connectionCloseListeners) { + listener(); } }, }; |
