diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-09-03 14:34:14 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-09-09 12:31:33 +0200 |
| commit | 9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb (patch) | |
| tree | d903097cdb104b659b872f77aa961aa4df0281af /gui/test | |
| parent | 82497c9bc8cf8f40ab179330a7f9d19ec7dfa057 (diff) | |
| download | mullvadvpn-9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb.tar.xz mullvadvpn-9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb.zip | |
Add current_is_outdated support to Electron frontend
Diffstat (limited to 'gui/test')
| -rw-r--r-- | gui/test/components/NotificationArea.spec.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/test/components/NotificationArea.spec.tsx b/gui/test/components/NotificationArea.spec.tsx index a92eced532..6b86639a75 100644 --- a/gui/test/components/NotificationArea.spec.tsx +++ b/gui/test/components/NotificationArea.spec.tsx @@ -10,7 +10,7 @@ describe('components/NotificationArea', () => { const defaultVersion = { consistent: true, currentIsSupported: true, - upToDate: true, + currentIsOutdated: false, current: '2018.2', latest: '2018.2-beta1', latestStable: '2018.2', @@ -185,7 +185,7 @@ describe('components/NotificationArea', () => { version={{ ...defaultVersion, currentIsSupported: false, - upToDate: false, + currentIsOutdated: true, current: '2018.1', nextUpgrade: '2018.2', }} @@ -207,7 +207,7 @@ describe('components/NotificationArea', () => { }} version={{ ...defaultVersion, - upToDate: false, + currentIsOutdated: true, current: '2018.2', latest: '2018.4-beta2', latestStable: '2018.3', @@ -232,7 +232,7 @@ describe('components/NotificationArea', () => { }} version={{ ...defaultVersion, - upToDate: false, + currentIsOutdated: true, current: '2018.4-beta1', latest: '2018.4-beta3', latestStable: '2018.3', |
