summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-09-27 15:19:06 +0200
committerErik Larkö <erik@mullvad.net>2017-09-27 16:45:04 +0200
commit2c66bd9c9bbbcdb1bf9c8fad41b1061b8c95003f (patch)
tree42bc955dcdb246a431e2ac0d24de015bc4ac5f48 /test
parent309245504c814e5a152c156a83afcdd419144f45 (diff)
downloadmullvadvpn-2c66bd9c9bbbcdb1bf9c8fad41b1061b8c95003f.tar.xz
mullvadvpn-2c66bd9c9bbbcdb1bf9c8fad41b1061b8c95003f.zip
Show different locations if the user is connected or not
Diffstat (limited to 'test')
-rw-r--r--test/components/Connect.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/components/Connect.spec.js b/test/components/Connect.spec.js
index e116311e42..9c60ce4ed2 100644
--- a/test/components/Connect.spec.js
+++ b/test/components/Connect.spec.js
@@ -70,8 +70,8 @@ describe('components/Connect', () => {
const countryAndCity = component.find('.connect__status-location');
const ipAddr = component.find('.connect__status-ipaddress');
- expect(countryAndCity.text()).to.contain('sweden');
- expect(countryAndCity.text()).to.not.contain('gothenburg');
+ expect(countryAndCity.text()).to.contain('\u2002');
+ expect(countryAndCity.text()).to.not.contain('\u2003');
expect(ipAddr.text()).to.contain('1.2.3.4');
});