Keep every picked card on the finished Rule, and wait for its words before Continue.

This commit is contained in:
adilallo committed 2026-11-22 17:56:38 -07:00
1 parent a846169960
commit a2815ae05f
16 files changed
+417 -114

No files matched your search

+31
View File
@@ -61,6 +61,37 @@ describe("inviteRuleCountsLabel", () => {
}),
).toBe("3 VALUES AND 2 CARDS");
});
it("counts titled cards that still have no words", () => {
expect(
inviteRuleCountsLabel({
methodSelections: {
communication: [
{
id: "signal",
label: "Signal",
sections: {
corePrinciple: "",
logisticsAdmin: "",
codeOfConduct: "",
},
},
],
membership: [
{
id: "open-admission",
label: "Open admission",
sections: {
eligibility: "",
joiningProcess: "",
expectations: "",
},
},
],
},
}),
).toBe("0 VALUES AND 2 CARDS");
});
});
describe("inviteRuleCountsSpoken", () => {