Skip to content

Commit

Permalink
fixup! Add iteroator unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Dec 20, 2024
1 parent 55d86e5 commit 3f26cee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gConsent/query/query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ describe("query", () => {
});
});

// These tests don't check that the underlying query function
// is called, so they lack the coverage for error conditions.
// This is intentional, as workarounds for this cost more than
// the value they provide.
describe("paginatedQuery", () => {
it("follows the pagination links", async () => {
const nextQueryParams = {
Expand Down

0 comments on commit 3f26cee

Please sign in to comment.