diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2017-12-12 12:51:03 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-12-19 10:32:24 +0100 |
| commit | 668ddcd44533f2d8e80f373e0bcd2d9d257e6ed3 (patch) | |
| tree | c6c146e869e7c8897342dcc6dd87f72974daf5f2 /test/mocks | |
| parent | 383a48638198accef99e987cd3297283ed25398b (diff) | |
| download | mullvadvpn-668ddcd44533f2d8e80f373e0bcd2d9d257e6ed3.tar.xz mullvadvpn-668ddcd44533f2d8e80f373e0bcd2d9d257e6ed3.zip | |
Add IPC method to fetch relay locations
Diffstat (limited to 'test/mocks')
| -rw-r--r-- | test/mocks/ipc.js | 4 |
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(), |
