Skip to content

Commit

Permalink
Fix search param manager test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbrooke committed Aug 24, 2023
1 parent 4ef9d83 commit d60f13f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ describe('search parameter manager', () => {

it(`given a certain initial state,
it is possible to access every relevant search parameter using #state.parameters`, () => {
const facetValues = [buildMockFacetValueRequest({state: 'selected'})];
const facetValues = [
buildMockFacetValueRequest({state: 'selected'}),
buildMockFacetValueRequest({state: 'excluded'}),
];
engine.state.facetSet = {
author: buildMockFacetSlice({
request: buildMockFacetRequest({currentValues: facetValues}),
Expand Down

0 comments on commit d60f13f

Please sign in to comment.