diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2017-11-21 15:48:20 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-11-23 12:41:13 +0100 |
| commit | abb6dae7b765755d4c687401384095b44e931279 (patch) | |
| tree | 557b85736b8e746b9842443a21ff164c7d2423d9 /test | |
| parent | 3f378094189d542cad7deac5b3b919f724c96758 (diff) | |
| download | mullvadvpn-abb6dae7b765755d4c687401384095b44e931279.tar.xz mullvadvpn-abb6dae7b765755d4c687401384095b44e931279.zip | |
Fix flow annotations
Diffstat (limited to 'test')
| -rw-r--r-- | test/mocks/ipc.js | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js index 8b98e9309a..5b3b7ea1ac 100644 --- a/test/mocks/ipc.js +++ b/test/mocks/ipc.js @@ -31,11 +31,15 @@ export function newMockIpc() { updateRelaySettings: () => Promise.resolve(), getRelaySettings: () => Promise.resolve({ - host: { only: 'www.example.com' }, - tunnel: { openvpn: { - port: 'any', - protocol: 'any', - }}, + custom_tunnel_endpoint: { + host: 'www.example.com', + tunnel: { + openvpn: { + port: 1300, + protocol: 'udp', + } + } + }, }), connect: () => Promise.resolve(), |
