Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
touv committed Aug 30, 2024
1 parent 9ba6f12 commit d2983ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/models/publishedFacet.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ describe('publishedFacet model', () => {
}),
})),
};
const listCollections = {
toArray: () => [true],
};
const db = {
collection: () => collection,
listCollections: () => listCollections,
};
const publishedFacet = publishedFacetFactory(db);

Expand Down

0 comments on commit d2983ff

Please sign in to comment.