diff options
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={{ |
