Open LemonyDesign opened 5 years ago
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