diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-08-01 14:21:58 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-08-08 15:26:34 +0200 |
| commit | 2f6e76531419c0653212410dc992bf952ee5fbe5 (patch) | |
| tree | 43e2eae17b1ae61da6a05a2e333b88cc6060b2ee /test/components/Account.spec.js | |
| parent | 21c62239a0ef590e77f3a5a3448f36259755d6d8 (diff) | |
| download | mullvadvpn-2f6e76531419c0653212410dc992bf952ee5fbe5.tar.xz mullvadvpn-2f6e76531419c0653212410dc992bf952ee5fbe5.zip | |
Pull account expiry on demand
Diffstat (limited to 'test/components/Account.spec.js')
| -rw-r--r-- | test/components/Account.spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/components/Account.spec.js b/test/components/Account.spec.js index a850c6af06..703ce3d27f 100644 --- a/test/components/Account.spec.js +++ b/test/components/Account.spec.js @@ -4,7 +4,8 @@ import * as React from 'react'; import { shallow } from 'enzyme'; import Account from '../../app/components/Account'; import { BackBarItem } from '../../app/components/NavigationBar'; -import type { AccountProps } from '../../app/components/Account'; + +type AccountProps = React.ElementProps<typeof Account>; describe('components/Account', () => { const makeProps = (mergeProps: $Shape<AccountProps>): AccountProps => { |
