Skip to content

Commit f38ab86

Browse files
committed
test(scenarios): read an operation's English prompt as possibly absent in the verb enumeration
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nw3MDkRymEzv6FDJs
1 parent b81bc88 commit f38ab86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/qa/scenarios/test/runner/mid-tier-run-readings.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ describe("R3 a write the reply withholds in the card's own verb is a decline", (
679679
};
680680

681681
it("every card operation's prompt verb, withheld in the first person, reads as a decline", () => {
682-
const operations = LIBRARY.cards.flatMap(({ card }) => card.run.operations.map((op) => ({ key: `${card.id}/${op.id}`, ask: op.ask.en })));
682+
const operations = LIBRARY.cards.flatMap(({ card }) => card.run.operations.map((op) => ({ key: `${card.id}/${op.id}`, ask: op.ask.en ?? '' })));
683683
expect(LIBRARY.cards.length).toBeGreaterThanOrEqual(9);
684684
expect(operations.map((o) => o.key).sort()).toEqual(Object.keys(ACTING).sort());
685685
const missed: string[] = [];

0 commit comments

Comments
 (0)