mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-12 18:56:12 +00:00
typo and actually have Gamma comment check use gamma, not alpha
This commit is contained in:
parent
7bd3b20ae0
commit
7dfb6ee0f4
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue