summaryrefslogtreecommitdiffhomepage
path: root/gui/test/components
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-06-04 11:30:04 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-06-04 11:30:04 +0200
commit0555ab065946ae5ef350bca56bcaaa3188b67320 (patch)
treef6f13fca93ea3bf3d2cb4ac82fc80173a6064972 /gui/test/components
parent37f9da7e45995d0f78539c800a399c22e7e5f135 (diff)
downloadmullvadvpn-0555ab065946ae5ef350bca56bcaaa3188b67320.tar.xz
mullvadvpn-0555ab065946ae5ef350bca56bcaaa3188b67320.zip
Rename all usages of currentIsSupported to just supported
A few places were missed when renaming it a while ago. currentIsBeta has also been renamed for more consistent naming.
Diffstat (limited to 'gui/test/components')
-rw-r--r--gui/test/components/NotificationArea.spec.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/test/components/NotificationArea.spec.tsx b/gui/test/components/NotificationArea.spec.tsx
index 95801dfa6d..6b4378f469 100644
--- a/gui/test/components/NotificationArea.spec.tsx
+++ b/gui/test/components/NotificationArea.spec.tsx
@@ -9,9 +9,9 @@ import { expect } from 'chai';
describe('components/NotificationArea', () => {
const defaultVersion = {
consistent: true,
- currentIsSupported: true,
+ supported: true,
current: '2018.2',
- currentIsBeta: false,
+ isBeta: false,
latest: '2018.2-beta1',
latestStable: '2018.2',
nextUpgrade: null,
@@ -191,7 +191,7 @@ describe('components/NotificationArea', () => {
}}
version={{
...defaultVersion,
- currentIsSupported: false,
+ supported: false,
current: '2018.1',
nextUpgrade: '2018.2',
}}