From 2491ad71424de64c798ea98f631caccc47d0ed71 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Thu, 2 Jan 2025 15:21:51 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85(e2e)=20adapt=20test=20to=20new=20Bloc?= =?UTF-8?q?knote=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copy as html provide a html lightly different than before, so the test was adapted to the new html provided. --- .../apps/e2e/__tests__/app-impress/doc-header.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts index 07afddcb..97976589 100644 --- a/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts @@ -471,9 +471,7 @@ test.describe('Doc Header', () => { navigator.clipboard.readText(), ); const clipboardContent = await handle.jsonValue(); - expect(clipboardContent.trim()).toBe( - `

Hello World

`, - ); + expect(clipboardContent.trim()).toBe(`

Hello World

`); }); });