From 7f05d9cdffeeefe5bf963f4cee178e6676ef0610 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 28 Dec 2025 15:51:48 +0200 Subject: [PATCH] test(client): broken tests after change in icon definition --- .../src/widgets/collections/presentation/model.spec.ts | 6 +++--- apps/client/src/widgets/type_widgets/text/config.spec.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/widgets/collections/presentation/model.spec.ts b/apps/client/src/widgets/collections/presentation/model.spec.ts index ea726fe48..435557650 100644 --- a/apps/client/src/widgets/collections/presentation/model.spec.ts +++ b/apps/client/src/widgets/collections/presentation/model.spec.ts @@ -74,11 +74,11 @@ describe("Presentation model", () => { }); it("rewrites links to other slides", () => { - expect(data.slides[1].content.__html).toStrictEqual(`

Go to First slide.

`); - expect(data.slides[1].verticalSlides![0].content.__html).toStrictEqual(`

Go to First-sub.

`); + expect(data.slides[1].content.__html).toStrictEqual(`

Go to First slide.

`); + expect(data.slides[1].verticalSlides![0].content.__html).toStrictEqual(`

Go to First-sub.

`); }); it("rewrites links even if they are not part of the slideshow", () => { - expect(data.slides[0].verticalSlides![0].content.__html).toStrictEqual(`

Go to Other note.

`); + expect(data.slides[0].verticalSlides![0].content.__html).toStrictEqual(`

Go to Other note.

`); }); }); diff --git a/apps/client/src/widgets/type_widgets/text/config.spec.ts b/apps/client/src/widgets/type_widgets/text/config.spec.ts index 5e85bab3b..89f1853dc 100644 --- a/apps/client/src/widgets/type_widgets/text/config.spec.ts +++ b/apps/client/src/widgets/type_widgets/text/config.spec.ts @@ -35,5 +35,5 @@ describe("CK config", () => { expect(config.translations, locale.id).toHaveLength(2); } } - }); + }, 10_000); });