fix(web): surface media fetch failures

This commit is contained in:
Peter Steinberger
2025-12-03 13:47:13 +00:00
parent 92a0763a74
commit a321bf1a90
4 changed files with 65 additions and 3 deletions

View File

@@ -763,7 +763,7 @@ describe("config and templating", () => {
expect(rpcSpy).toHaveBeenCalled();
const payloads = Array.isArray(res) ? res : res ? [res] : [];
expect(payloads.length).toBeGreaterThanOrEqual(2);
expect(payloads[0]?.text).toBe("[🛠️ bash] ls");
expect(payloads[0]?.text).toBe("💻 ls — “ls output”");
expect(payloads[1]?.text).toContain("summary");
});