summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2017-12-12 12:51:03 +0100
committerAndrej Mihajlov <and@mullvad.net>2017-12-19 10:32:24 +0100
commit668ddcd44533f2d8e80f373e0bcd2d9d257e6ed3 (patch)
treec6c146e869e7c8897342dcc6dd87f72974daf5f2 /test
parent383a48638198accef99e987cd3297283ed25398b (diff)
downloadmullvadvpn-668ddcd44533f2d8e80f373e0bcd2d9d257e6ed3.tar.xz
mullvadvpn-668ddcd44533f2d8e80f373e0bcd2d9d257e6ed3.zip
Add IPC method to fetch relay locations
Diffstat (limited to 'test')
-rw-r--r--test/mocks/ipc.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js
index 59655c03ab..ede4bd37b7 100644
--- a/test/mocks/ipc.js
+++ b/test/mocks/ipc.js
@@ -42,6 +42,10 @@ export function newMockIpc() {
},
}),
+ getRelayLocations: () => Promise.resolve({
+ countries: [],
+ }),
+
connect: () => Promise.resolve(),
disconnect: () => Promise.resolve(),