Keep every picked card on the finished Rule, and wait for its words before Continue.
This commit is contained in:
1 parent
a846169960
commit
a2815ae05f
16 files changed
+417
-114
No files matched your search
@@ -81,7 +81,7 @@ describe("parsePublishedDocumentForCommunityRuleDisplay", () => {
|
||||
expect(out[0].entries[0].body).toBe("x\n\ny");
|
||||
});
|
||||
|
||||
it("enriches empty core value copy from presets (label match)", () => {
|
||||
it("keeps empty core value copy blank instead of filling library text", () => {
|
||||
const doc = {
|
||||
sections: [],
|
||||
coreValues: [
|
||||
@@ -89,7 +89,8 @@ describe("parsePublishedDocumentForCommunityRuleDisplay", () => {
|
||||
],
|
||||
};
|
||||
const out = parsePublishedDocumentForCommunityRuleDisplay(doc);
|
||||
expect(out[0].entries[0].body).toMatch(/well-being is bound up/);
|
||||
expect(out[0].entries[0].title).toBe("Interdependence");
|
||||
expect(out[0].entries[0].body).toBe("");
|
||||
});
|
||||
|
||||
it("replaces template placeholder bodies with preset copy, Values first", () => {
|
||||
|
||||
Reference in new issue
Block a user