it('should get a login error action.', () =>
    expect(actions.loginError('Test', { b: 1 })).toEqual({
      type: types.LOGIN_ERROR,
      payload: {
        message: 'Test',