mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-21 21:56:46 +00:00
test: pin wiki preview truncation
This commit is contained in:
@@ -346,8 +346,8 @@ describe("dreaming view", () => {
|
||||
await Promise.resolve();
|
||||
await Promise.resolve();
|
||||
|
||||
expect(container.querySelector(".dreams-diary__preview-hint")?.textContent).toContain(
|
||||
"6001 total lines",
|
||||
expect(compactText(container.querySelector(".dreams-diary__preview-hint"))).toBe(
|
||||
"Showing the first chunk of this page (6001 total lines).",
|
||||
);
|
||||
|
||||
const closePreviewButton = container.querySelector<HTMLButtonElement>(
|
||||
|
||||
Reference in New Issue
Block a user