test: match shared document access error presentation

This commit is contained in:
scotttong committed 2026-10-27 21:59:45 -07:00
1 parent 441b35fd0d
commit 50201a1f5a
1 file changed
+1 -1
@@ -46,7 +46,7 @@ describe("exact reviewed revision panel", () => {
await render("task-b");
expect(mocks.get).toHaveBeenCalledWith("task-b", "copy");
expect(mocks.revision).not.toHaveBeenCalled();
expect(container.textContent).toContain("The document could not be loaded");
expect(container.textContent).toContain("Couldn't load the document");
expect(container.querySelector("article")).toBeNull();
});
});