summaryrefslogtreecommitdiffhomepage
path: root/test/mocks
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2017-12-19 16:51:33 +0100
committerAndrej Mihajlov <and@mullvad.net>2017-12-19 16:51:33 +0100
commit8b146934260739ae609791a1fb676d48ceb954c0 (patch)
treef81f73db8cf38f95c534f48a75db48856c4a4c67 /test/mocks
parent383a48638198accef99e987cd3297283ed25398b (diff)
parentef955341235725d355416815c93df18423d433d5 (diff)
downloadmullvadvpn-8b146934260739ae609791a1fb676d48ceb954c0.tar.xz
mullvadvpn-8b146934260739ae609791a1fb676d48ceb954c0.zip
Merge branch 'dynamic-relay-list'
Diffstat (limited to 'test/mocks')
-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(),