text: import Actions, { reducer, INITIAL_STATE } from '../../../../app/modules/chat/chat.reducer'
  
  test('success', () => {
    const chatList = [{ username: 'user', message: 'hi' }]
    const state = reducer(INITIAL_STATE, Actions.chatSuccess(chatList))
  
    expect(state.chat).toEqual(chatList)
  })
  
  test('reset', () => {
    const chatList = [{ username: 'user', message: 'hi' }]
    const chatState = reducer(INITIAL_STATE, Actions.chatSuccess(chatList))
    const resetState = reducer(chatState, Actions.chatReset())
  
    expect(resetState.chat).toEqual([])
  })
  