summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ipc.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ipc.spec.js b/test/ipc.spec.js
index c664ef83c3..6e02ab94b1 100644
--- a/test/ipc.spec.js
+++ b/test/ipc.spec.js
@@ -46,14 +46,14 @@ describe('The IPC server', () => {
ws.on('a message', (msg) => ws.replyOk(msg.id, 'a reply'));
- const decoy = ipc.send('a decoy')
+ const decoy = ipc.send('a decoy', [], 1)
.then(() => assert(false, 'Should not be called'))
.catch(e => {
if (e.name !== 'TimeOutError') {
throw e;
}
});
- const message = ipc.send('a message')
+ const message = ipc.send('a message', [], 1)
.then((reply) => expect(reply).to.equal('a reply'));
return Promise.all([message, decoy]);