fix: improve memory markdown layout
This commit is contained in:
@@ -57,8 +57,8 @@ test("shows the exact content and provenance for every memory option", () => {
|
||||
id: "mem-42",
|
||||
label: "paziente attivo",
|
||||
detail: "flag_attivo = TRUE",
|
||||
rationale: "Confermato dal reviewer",
|
||||
meta: { question_context: "Conta i pazienti attivi" },
|
||||
rationale: "*Confermato* dal reviewer",
|
||||
meta: { question_context: "Conta i **pazienti attivi**" },
|
||||
},
|
||||
],
|
||||
}}
|
||||
@@ -67,8 +67,8 @@ test("shows the exact content and provenance for every memory option", () => {
|
||||
);
|
||||
|
||||
expect(screen.getByText("flag_attivo = TRUE")).toBeInTheDocument();
|
||||
expect(screen.getByText(/Confermato dal reviewer/)).toBeInTheDocument();
|
||||
expect(screen.getByText(/Conta i pazienti attivi/)).toBeInTheDocument();
|
||||
expect(screen.getByText("Confermato").tagName).toBe("EM");
|
||||
expect(screen.getByText("pazienti attivi").tagName).toBe("STRONG");
|
||||
});
|
||||
|
||||
test("renders memory detail as human-friendly Markdown", () => {
|
||||
|
||||
Reference in New Issue
Block a user