summaryrefslogtreecommitdiffhomepage
path: root/gui/test
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-27 20:25:45 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-28 19:18:45 +0000
commitd91a855e6b7981e90f7cd9f6d2374dcb54cd04bb (patch)
treee3d66089e74e9414b7624e414f28efa1ab14a9a3 /gui/test
parentea3466c3bf5eb16619d67bd61e27d635d879c51b (diff)
downloadmullvadvpn-d91a855e6b7981e90f7cd9f6d2374dcb54cd04bb.tar.xz
mullvadvpn-d91a855e6b7981e90f7cd9f6d2374dcb54cd04bb.zip
Change how tunnel endpoint is broadcasted
Diffstat (limited to 'gui/test')
-rw-r--r--gui/test/components/NotificationArea.spec.tsx14
1 files changed, 11 insertions, 3 deletions
diff --git a/gui/test/components/NotificationArea.spec.tsx b/gui/test/components/NotificationArea.spec.tsx
index 7b1a69bd8a..f2674e848c 100644
--- a/gui/test/components/NotificationArea.spec.tsx
+++ b/gui/test/components/NotificationArea.spec.tsx
@@ -63,9 +63,17 @@ describe('components/NotificationArea', () => {
tunnelState={{
state: 'connected',
details: {
- address: '1.2.3.4',
- protocol: 'tcp',
- tunnelType: 'openvpn',
+ endpoint: {
+ address: '1.2.3.4',
+ protocol: 'tcp',
+ tunnelType: 'openvpn',
+ },
+ location: {
+ country: 'Sweden',
+ latitude: 57.70887,
+ longitude: 11.97456,
+ mullvadExitIp: true,
+ },
},
}}
version={defaultVersion}