Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test cases for activity feed backend #1976

Merged
merged 17 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
issue-700-tests: fix failing es-lint check
  • Loading branch information
palakgupta2712 committed Mar 18, 2024
commit aca4390b1174b889001c8f52642855239757a196
1 change: 1 addition & 0 deletions test/integration/logs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ describe("/logs", function () {
return done();
});
});

it("should return logs of type = extensionRequests with status code 200", function (done) {
yesyash marked this conversation as resolved.
Show resolved Hide resolved
chai
.request(app)
Expand Down
1 change: 1 addition & 0 deletions test/unit/models/logs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ describe("Logs", function () {
// eslint-disable-next-line no-unused-expressions
expect(result.next).to.not.be.null;
});

it("Should return all the logs as per the size passed = 3 and page passed", async function () {
const PAGE = 1;
const result = await logsQuery.fetchAllLogs({ size: 3, page: PAGE });
Expand Down
Loading