Bring reactions to comments and issues

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-07-12 15:36:02 +02:00
committed by Rūdolfs Ošiņš
parent 28718ba0cf
commit 205fc814bc
7 changed files with 91 additions and 4 deletions
+24
View File
@@ -370,6 +370,18 @@ export async function createCobsFixture(peer: RadiclePeer) {
["bug", "feature-request"],
{ cwd: projectFolder },
);
await peer.rad(
["issue", "react", issueOne, "--emoji", "👍", "--to", issueOne],
{
cwd: projectFolder,
},
);
await peer.rad(
["issue", "react", issueOne, "--emoji", "🎉", "--to", issueOne],
{
cwd: projectFolder,
},
);
await peer.rad(
["assign", issueOne, "--to", `did:key:${peer.nodeId}`],
createOptions(projectFolder, 1),
@@ -384,6 +396,12 @@ export async function createCobsFixture(peer: RadiclePeer) {
createOptions(projectFolder, 2),
);
await peer.rad(
["issue", "react", issueOne, "--emoji", "🙏", "--to", commentIssueOne],
{
cwd: projectFolder,
},
);
const { stdout: replyIssueOne } = await peer.rad(
[
"comment",
issueOne,
@@ -394,6 +412,12 @@ export async function createCobsFixture(peer: RadiclePeer) {
],
createOptions(projectFolder, 3),
);
await peer.rad(
["issue", "react", issueOne, "--emoji", "🚀", "--to", replyIssueOne],
{
cwd: projectFolder,
},
);
await peer.rad(
[
"comment",