Skip to content

Commit

Permalink
chore: fix failing test by reverting it
Browse files Browse the repository at this point in the history
  • Loading branch information
vinit717 committed Jan 18, 2025
1 parent 1d43fd2 commit 8eaac16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/models/logs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ 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(4);
expect(result.allLogs).to.have.lengthOf(3);
const nextData = await logsQuery.fetchAllLogs({ next: result.next });
expect(nextData.allLogs).to.have.lengthOf(3);
expect(nextData.allLogs).to.have.lengthOf(4);
expect(nextData).to.have.any.key("prev");
expect(nextData).to.have.any.key("next");
// eslint-disable-next-line no-unused-expressions
Expand Down

0 comments on commit 8eaac16

Please sign in to comment.