Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Update heartwood
Sebastian Martinez committed 2 years ago
commit ed5a0b382bcffc9c792dfb514fb4510535c39255
parent 1ef0f9dfd1b223caab543b0bdb008fb675355c79
2 files changed +29 -3
modified tests/support/fixtures.ts
@@ -411,10 +411,12 @@ export async function createCobsFixture(peer: RadiclePeer) {
  );
  const { stdout: commentIssueOne } = await peer.rad(
    [
+
      "issue",
      "comment",
      issueOne,
      "--message",
      "This is a multiline comment\n\nWith some more text.",
+
      "--quiet",
    ],
    createOptions(projectFolder, 2),
  );
@@ -426,12 +428,14 @@ export async function createCobsFixture(peer: RadiclePeer) {
  );
  const { stdout: replyIssueOne } = await peer.rad(
    [
+
      "issue",
      "comment",
      issueOne,
      "--message",
      "This is a reply, to a first comment.",
      "--reply-to",
      commentIssueOne,
+
      "--quiet",
    ],
    createOptions(projectFolder, 3),
  );
@@ -443,10 +447,12 @@ export async function createCobsFixture(peer: RadiclePeer) {
  );
  await peer.rad(
    [
+
      "issue",
      "comment",
      issueOne,
      "--message",
      "A root level comment after a reply, for margins sake.",
+
      "--quiet",
    ],
    createOptions(projectFolder, 4),
  );
@@ -484,43 +490,63 @@ export async function createCobsFixture(peer: RadiclePeer) {
    { cwd: projectFolder },
  );
  const { stdout: commentPatchOne } = await peer.rad(
-
    ["comment", patchOne, "--message", "I'll review the patch"],
+
    [
+
      "patch",
+
      "comment",
+
      patchOne,
+
      "--message",
+
      "I'll review the patch",
+
      "--quiet",
+
    ],
    createOptions(projectFolder, 1),
  );
  await peer.rad(
    [
+
      "patch",
      "comment",
      patchOne,
      "--message",
      "Thanks for that!",
      "--reply-to",
      commentPatchOne,
+
      "--quiet",
    ],
    createOptions(projectFolder, 2),
  );
  await peer.rad(
    [
+
      "patch",
      "comment",
      patchOne,
      "--message",
      "Yeah no problem!",
      "--reply-to",
      commentPatchOne,
+
      "--quiet",
    ],
    createOptions(projectFolder, 3),
  );
  const { stdout: commentTwo } = await peer.rad(
-
    ["comment", patchOne, "--message", "Looking good so far"],
+
    [
+
      "patch",
+
      "comment",
+
      patchOne,
+
      "--message",
+
      "Looking good so far",
+
      "--quiet",
+
    ],
    createOptions(projectFolder, 4),
  );
  await peer.rad(
    [
+
      "patch",
      "comment",
      patchOne,
      "--message",
      "Thanks again!",
      "--reply-to",
      commentTwo,
+
      "--quiet",
    ],
    createOptions(projectFolder, 5),
  );
modified tests/support/heartwood-version
@@ -1 +1 @@
-
9df1922f15ca5a27057ce0a8f7197efe3ff32ee3
+
5acfffb352a47e052673f7ecc0c87653bc6c8ec4