summaryrefslogtreecommitdiffhomepage
path: root/test/helpers/IpcChain.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-06-01 16:13:10 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-06-05 12:11:55 +0200
commitca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087 (patch)
treeb1f7754eb50896ab3681e35fa4e08be642b940c9 /test/helpers/IpcChain.js
parent5852c980980de53e00d76a0bdb4b41bf5c0f5b39 (diff)
downloadmullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.tar.xz
mullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.zip
Add formatted source code
Diffstat (limited to 'test/helpers/IpcChain.js')
-rw-r--r--test/helpers/IpcChain.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers/IpcChain.js b/test/helpers/IpcChain.js
index 4e3ddea79e..44a1c7b0d7 100644
--- a/test/helpers/IpcChain.js
+++ b/test/helpers/IpcChain.js
@@ -25,7 +25,7 @@ export class IpcChain {
_addStep<R>(step: StepBuilder<R>) {
const me = this;
this._mockIpc[step.ipcCall] = function() {
- return new Promise(r => me._stepPromiseCallback(step, r, arguments));
+ return new Promise((r) => me._stepPromiseCallback(step, r, arguments));
};
}