diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-01-03 12:43:36 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-01-03 12:43:36 +0100 |
| commit | d19f790931beca0dcc62ae84f16d45b74d69a9c8 (patch) | |
| tree | 42f2ddc38820c72517d1598835da718b583d07d9 /test/mocks | |
| parent | d9f182e02742f9266941e4263e3e8f9cd92f6d32 (diff) | |
| parent | 9c1589392d08c31bd4cc95f1e727c705bfb6900a (diff) | |
| download | mullvadvpn-d19f790931beca0dcc62ae84f16d45b74d69a9c8.tar.xz mullvadvpn-d19f790931beca0dcc62ae84f16d45b74d69a9c8.zip | |
Merge branch 'add-lan-sharing'
Diffstat (limited to 'test/mocks')
| -rw-r--r-- | test/mocks/ipc.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js index ede4bd37b7..fc035f55ed 100644 --- a/test/mocks/ipc.js +++ b/test/mocks/ipc.js @@ -24,6 +24,10 @@ export function newMockIpc() { expiry: '', }), + getRelayLocations: () => Promise.resolve({ + countries: [], + }), + getAccount: () => Promise.resolve('1111'), setAccount: () => Promise.resolve(), @@ -42,9 +46,9 @@ export function newMockIpc() { }, }), - getRelayLocations: () => Promise.resolve({ - countries: [], - }), + setAllowLan: (_allowLan: boolean) => Promise.resolve(), + + getAllowLan: () => Promise.resolve(true), connect: () => Promise.resolve(), |
