Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

test(reactions): the yes-or-no guidance no longer says to end the turn (#3679)

Milind Soni7e28ea4174e1
diff --git a/server/reactions.e2e.test.ts b/server/reactions.e2e.test.ts
index b89eac186f..e09224a182 100644
--- a/server/reactions.e2e.test.ts
+++ b/server/reactions.e2e.test.ts
@@ -61,7 +61,7 @@ it("answers a bot's yes-or-no question with a πŸ‘, and the bot goes on by itsel
]);
expect(prompts()).toHaveLength(2);
expect(JSON.parse(readFileSync(fixture.fixtureDumpPath, "utf8")).systemPrompt).toContain(
- "A plain yes or no, such as whether to go ahead, needs no widget: ask it in one short sentence and end your turn; the person answers in a word or with πŸ‘ or πŸ‘Ž on your message, and either comes back to you as their reply.");
+ "A plain yes or no, such as whether to go ahead, needs no widget: ask it in one short sentence; the person answers in a word or with πŸ‘ or πŸ‘Ž on your message, and either comes back to you as their reply.");
const reactionPrompt = prompts()[1]!;
evidence.push({ reactionPrompt });
expect(reactionPrompt).toContain("The current message is the person's reaction: they reacted πŸ‘ to your earlier message instead of typing a reply.");