Skip to content

Commit

Permalink
Test updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 18, 2023
1 parent 645f539 commit 8eb2365
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/src/components/providers/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ describe("Providers utils", () => {
requestParams = {
perPage: 1,
current_page: 2,
randomParam: "randomValue"
randomParam: "randomValue",
};
cleanParams = cleanPaginationParameters(requestParams);
expect(cleanParams).toEqual({
limit: 1,
offset: 1,
random_param: "randomValue"
random_param: "randomValue",
});
requestParams = {
offset: 3
offset: 3,
};
cleanParams = cleanPaginationParameters(requestParams);
expect(cleanParams).toEqual({
offset: 3
offset: 3,
});
})
})
});
});

0 comments on commit 8eb2365

Please sign in to comment.