Skip to content

setFavourites.test (reducer) fails  #8

@LemonyDesign

Description

@LemonyDesign
  test('handles removing favourites', () => {
    const action = {
      type: 'FAVOURITES_REMOVE',
    };
    const expectedState = ['vibrant corpse'];
    const outputState = setFavourites(filledState, action);
    expect(outputState).toEqual(expectedState);
  });

Functionality to remove favourite from array not reflected by test

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions