Skip to content

Commit

Permalink
fix test in coffeebot
Browse files Browse the repository at this point in the history
  • Loading branch information
seefeldb committed Oct 19, 2023
1 parent 359f4dd commit 64952b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions seeds/coffee-bot-board/tests/schemish-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ test("schemish-generator with unparseable JSON", async (t) => {
debugProbe.replaceNode("generator", (_inputs) => {
count++;
if (count > 2) return { completion: '{ "type": "drink" }' };
return { completion: '{ type: "drink"}' };
return { completion: '{ typish: "drink"}' };
});

const outputs = await schemishGenerator.runOnce(
Expand All @@ -130,8 +130,8 @@ test("schemish-generator with unparseable JSON", async (t) => {
$error: {
kind: "error",
error: {
message: "Expected property name or '}' in JSON at position 2",
type: "parsing",
message: '0: instance requires property "type"\n',
type: "validation",
},
},
});
Expand Down

0 comments on commit 64952b4

Please sign in to comment.