text: import reducer from './reducer'
  import deepFreeze from 'deep-freeze'
  
  describe('unicafe reducer', () => {
      const initialState = {
        good: 0,
        ok: 0,
        bad: 0
      }
    
      it('should return a proper initial state when called with undefined state', () => {
        const state = {}
        const action = {
          type: 'DO_NOTHING'
        }
    
        const newState = reducer(undefined, action)
        expect(newState).toEqual(initialState)
      })
    
      it('good is incremented', () => {
        const action = {
          type: 'GOOD'
        }
        const state = initialState
    
        deepFreeze(state)
        const newState = reducer(state, action)
        expect(newState).toEqual({
          good: 5,
          ok: 0,
          bad: 0
        })
      })
    })
  