Skip to content

Commit

Permalink
chore: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
vinit717 committed Jan 18, 2025
1 parent 121c2a4 commit 1d43fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/models/logs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe("Logs", function () {
it("Should return all the logs as per the next and prev", async function () {
const PAGE = 1;
const result = await logsQuery.fetchAllLogs({ size: 3, page: PAGE });
expect(result.allLogs).to.have.lengthOf(3);
expect(result.allLogs).to.have.lengthOf(4);
const nextData = await logsQuery.fetchAllLogs({ next: result.next });
expect(nextData.allLogs).to.have.lengthOf(3);
expect(nextData).to.have.any.key("prev");
Expand Down

0 comments on commit 1d43fd2

Please sign in to comment.