Update js test

pull/2520/head
saneery 5 years ago
parent fbaa0eae79
commit 3bc2e49dbe
  1. 4
      apps/block_scout_web/assets/__tests__/lib/async_listing_load.js

@ -46,14 +46,12 @@ describe('REQUEST_ERROR', () => {
describe('FINISH_REQUEST', () => { describe('FINISH_REQUEST', () => {
test('sets loading status to false', () => { test('sets loading status to false', () => {
const state = Object.assign({}, asyncInitialState, { const state = Object.assign({}, asyncInitialState, {
loading: true, loading: true
loadingFirstPage: true
}) })
const action = { type: 'FINISH_REQUEST' } const action = { type: 'FINISH_REQUEST' }
const output = asyncReducer(state, action) const output = asyncReducer(state, action)
expect(output.loading).toEqual(false) expect(output.loading).toEqual(false)
expect(output.loadingFirstPage).toEqual(false)
}) })
}) })

Loading…
Cancel
Save