typo and actually have Gamma comment check use gamma, not alpha

This commit is contained in:
RocketDerp 2023-07-18 12:54:21 -07:00 committed by GitHub
parent 7bd3b20ae0
commit 7dfb6ee0f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -601,8 +601,8 @@ test("Report a comment", async () => {
// For the sake of completeness, also confirm Gamma has the comment before later checking if reported.
// This raises an issue with replication design: gamma has only resolved the comment, it did not have anyone subscribe and join that community.
// Or is that automatically done by beforeAll function?
// Should this test be using nore normal getComments instead of resolveComment?
let gammaCommentRes = await resolveComment(alpha, commentRes);
// Should this test be using more normal getComments instead of resolveComment?
let gammaCommentRes = await resolveComment(gamma, commentRes);
// ToDo: this does not check for JSON { error: "message" }
expect(gammaCommentRes?.comment?.comment).toBeDefined();