summaryrefslogtreecommitdiffhomepage
path: root/test/components/Connect.spec.js
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-11-09 09:03:45 +0100
committerErik Larkö <erik@mullvad.net>2017-11-09 09:03:45 +0100
commit7f6c8398eacb5421b51c1f02befde4e4f6402fc7 (patch)
tree93456d22efbf668e39147ffb50b3beee37272a8c /test/components/Connect.spec.js
parenta77e01a50b165fd8d6e2db96652a1fcc9a220723 (diff)
downloadmullvadvpn-7f6c8398eacb5421b51c1f02befde4e4f6402fc7.tar.xz
mullvadvpn-7f6c8398eacb5421b51c1f02befde4e4f6402fc7.zip
Redid the settings state and inlined a few components
Diffstat (limited to 'test/components/Connect.spec.js')
-rw-r--r--test/components/Connect.spec.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/components/Connect.spec.js b/test/components/Connect.spec.js
index 5c342bff12..4b84b3b8da 100644
--- a/test/components/Connect.spec.js
+++ b/test/components/Connect.spec.js
@@ -108,7 +108,7 @@ describe('components/Connect', () => {
component.setProps({
settings: {
relayConstraints: {
- host: { only: 'se1.mullvad.net' },
+ host: 'se1.mullvad.net',
},
},
});
@@ -187,11 +187,9 @@ const defaultProps = {
accountExpiry: '',
settings: {
relayConstraints: {
- host: { only: 'www.example.com' },
- tunnel: { openvpn: {
- port: 'any',
- protocol: 'any',
- }},
+ host: 'www.example.com',
+ port: 'any',
+ protocol: 'any',
},
},
connection: defaultConnection,