{"size": 885, "ext": "js", "max_stars_repo_path": "src/utils/__tests__/int/Ledger.int.test.js", "max_stars_repo_name": "TheAntColony/Verus-Mobile", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/utils/__tests__/int/Ledger.int.test.js", "max_issues_repo_name": "TheAntColony/Verus-Mobile", "max_issues_repo_issues_event_min_datetime": "2019-12-04T14:59:05.000Z", "max_issues_repo_issues_event_max_datetime": "2019-12-25T15:45:09.000Z", "max_forks_repo_path": "src/utils/__tests__/int/Ledger.int.test.js", "max_forks_repo_name": "TheAntColony/Verus-Mobile", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 28.5483870968, "max_line_length": 140, "alphanum_fraction": 0.7118644068}
jest.setTimeout(60000)

import {
  MOCK_ACTIVE_COINS_FOR_USER,
  MOCK_USER_OBJ,
  MOCK_USER_OBJ_BALANCE_SMALL_VRSC
} from '../../../tests/helpers/MockAuthData'

import {
  MOCK_NEEDS_UPDATE_OBJ
} from '../../../tests/helpers/MockAppState'

import {
  fetchTransactionsForCoin
} from '../../../actions/actionCreators'

describe('Transaction action creator', () => {
  it('can fetch and format VRSC transactions for an empty user', () => {
    return fetchTransactionsForCoin([], MOCK_ACTIVE_COINS_FOR_USER[0], MOCK_USER_OBJ, MOCK_NEEDS_UPDATE_OBJ.transactions)
    .then(res => {
      
    })
  })

  it('can fetch and format VRSC transactions for a non empty user', () => {
    return fetchTransactionsForCoin([], MOCK_ACTIVE_COINS_FOR_USER[0], MOCK_USER_OBJ_BALANCE_SMALL_VRSC, MOCK_NEEDS_UPDATE_OBJ.transactions)
    .then(res => {
      console.log(res.transactions)
    })
  })
})