diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-04-11 14:36:01 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-04-15 12:11:48 +0200 |
| commit | 0f7e814aa66d53fe14b19a39b8d09be0c696fc16 (patch) | |
| tree | 9aea8fe8a7c7aa3e9dd24564a9c641e480cdd90f /gui/test/components | |
| parent | c293f478e9328f9b947e4a4b858e8cbf838f75f3 (diff) | |
| download | mullvadvpn-0f7e814aa66d53fe14b19a39b8d09be0c696fc16.tar.xz mullvadvpn-0f7e814aa66d53fe14b19a39b8d09be0c696fc16.zip | |
Update to prettier 2.0.4, bump gettext-extractor and gettext-parser to the latest patch release
Diffstat (limited to 'gui/test/components')
| -rw-r--r-- | gui/test/components/NotificationArea.spec.tsx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gui/test/components/NotificationArea.spec.tsx b/gui/test/components/NotificationArea.spec.tsx index a0732400da..7be9de56e1 100644 --- a/gui/test/components/NotificationArea.spec.tsx +++ b/gui/test/components/NotificationArea.spec.tsx @@ -15,12 +15,7 @@ describe('components/NotificationArea', () => { latestStable: '2018.2', }; - const defaultExpiry = new AccountExpiry( - moment() - .add(1, 'year') - .format(), - 'en', - ); + const defaultExpiry = new AccountExpiry(moment().add(1, 'year').format(), 'en'); it('handles disconnecting state', () => { for (const reason of ['nothing', 'block'] as AfterDisconnect[]) { @@ -260,12 +255,7 @@ describe('components/NotificationArea', () => { }); it('handles time running low', () => { - const expiry = new AccountExpiry( - moment() - .add(2, 'days') - .format(), - 'en', - ); + const expiry = new AccountExpiry(moment().add(2, 'days').format(), 'en'); const component = shallow( <NotificationArea tunnelState={{ |
