test(fix): fix test setup
This commit is contained in:
parent
e27472f042
commit
aab54d6b49
|
@ -17,8 +17,8 @@ describe('Receive Actions', () => {
|
|||
test('should create an action to load addresses with success', () => {
|
||||
const payload = {
|
||||
addresses: [
|
||||
'tm0a9si0ds09gj02jj',
|
||||
'smas098gk02jf0kskk',
|
||||
{ address: 'tm0a9si0ds09gj02jj', balance: 10 },
|
||||
{ address: 'smas098gk02jf0kskk', balance: 20 },
|
||||
],
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ describe('<WalletAddress />', () => {
|
|||
const { getByText } = render(
|
||||
<ThemeProvider theme={appTheme}>
|
||||
<div style={{ width: '700px' }}>
|
||||
<WalletAddress address='t14oHp2v54vfmdgQ3v3SNuQga8JKHTNi2a1' />
|
||||
<WalletAddress address='t14oHp2v54vfmdgQ3v3SNuQga8JKHTNi2a1' balance={2} />
|
||||
</div>
|
||||
</ThemeProvider>,
|
||||
);
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
// @flow
|
||||
import "@babel/polyfill";
|
||||
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
require('jest-extended');
|
||||
require("jest-extended");
|
||||
|
||||
// $FlowFixMe
|
||||
jest.DEFAULT_TIMEOUT_INTERVAL = 120000;
|
||||
|
|
Loading…
Reference in New Issue