Update heartwood

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-09-27 16:40:49 +02:00
parent 1ef0f9dfd1
commit ed5a0b382b
2 changed files with 29 additions and 3 deletions
+28 -2
View File
@@ -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),
);
+1 -1
View File
@@ -1 +1 @@
9df1922f15ca5a27057ce0a8f7197efe3ff32ee3
5acfffb352a47e052673f7ecc0c87653bc6c8ec4