diff --git a/apps/client/src/widgets/collections/presentation/model.spec.ts b/apps/client/src/widgets/collections/presentation/model.spec.ts index 7f63d8a42..e5b5b49b6 100644 --- a/apps/client/src/widgets/collections/presentation/model.spec.ts +++ b/apps/client/src/widgets/collections/presentation/model.spec.ts @@ -19,7 +19,8 @@ describe("Presentation model", () => { children: [ { id: "slide2", - title: "First-sub" + title: "First-sub", + content: `
Go to Other note.
` } ] }, @@ -37,6 +38,10 @@ describe("Presentation model", () => { } ] }); + buildNote({ + id: "other", + title: "Other note" + }); data = await buildPresentationModel(presentationNote); }); @@ -68,11 +73,11 @@ describe("Presentation model", () => { }); it("rewrites links to other slides", () => { - expect(data.slides[1].content.__html).toStrictEqual(`Go to First slide.
Go to First-sub.
Go to First slide.
Go to First-sub.
Go to Other note.