summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-08-29 10:19:39 +0200
committerErik Larkö <erik@mullvad.net>2017-08-29 10:52:04 +0200
commit18f76dcc47bf91b9b2524da79117288b972ec65a (patch)
tree8b6ccb51394741d1f3371d239cc79435c8dfe84e /test
parent08b5efa05a8a69ace12356eac90676b589679868 (diff)
downloadmullvadvpn-18f76dcc47bf91b9b2524da79117288b972ec65a.tar.xz
mullvadvpn-18f76dcc47bf91b9b2524da79117288b972ec65a.zip
Increase default ipc timeout
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]);