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

pull/3657/head
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
1 changed files with 2 additions and 2 deletions

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. // 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. // 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? // Or is that automatically done by beforeAll function?
// Should this test be using nore normal getComments instead of resolveComment? // Should this test be using more normal getComments instead of resolveComment?
let gammaCommentRes = await resolveComment(alpha, commentRes); let gammaCommentRes = await resolveComment(gamma, commentRes);
// ToDo: this does not check for JSON { error: "message" } // ToDo: this does not check for JSON { error: "message" }
expect(gammaCommentRes?.comment?.comment).toBeDefined(); expect(gammaCommentRes?.comment?.comment).toBeDefined();