Skip to content

Commit

Permalink
Import mock blocks as default
Browse files Browse the repository at this point in the history
  • Loading branch information
reyraa committed Oct 29, 2021
1 parent 740aa17 commit 12cc4cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { mountWithRouter } from '@utils/testHelpers';
import { truncateAddress } from '@utils/account';
import { blocks } from '../../../../../test/constants/blocks';
import blocks from '../../../../../test/constants/blocks';
import transactions from '../../../../../test/constants/transactions';
import BlockDetails from './blockDetails';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { mount } from 'enzyme';
import BlocksOverview from './blocksOverview';
import { blocks } from '../../../../../../test/constants/blocks';
import blocks from '../../../../../../test/constants/blocks';

describe('Blocks Overview', () => {
const props = {
Expand Down
2 changes: 1 addition & 1 deletion src/store/actions/blocks.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { actionTypes, networks } from '@constants';
import { getBlocks } from '@api/block';
import { getForgers, getDelegates } from '@api/delegate';
import { blocks } from '../../../test/constants/blocks';
import blocks from '../../../test/constants/blocks';
import forger from '../../../test/fixtures/forgers';
import delegate from '../../../test/fixtures/delegates';
import { olderBlocksRetrieved, forgersRetrieved } from './blocks';
Expand Down

0 comments on commit 12cc4cb

Please sign in to comment.