From 0b8358b8e35afdf617b01f26ec1c766488cc6a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20de=20Juvigny?= Date: Thu, 2 Nov 2023 10:08:38 +0100 Subject: [PATCH] Fix tests --- tests/BlocksRenderer.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/BlocksRenderer.test.tsx b/tests/BlocksRenderer.test.tsx index 04ec66e..1000fc3 100644 --- a/tests/BlocksRenderer.test.tsx +++ b/tests/BlocksRenderer.test.tsx @@ -218,6 +218,7 @@ describe('BlocksRenderer', () => { createdAt: '2021-01-01', updatedAt: '2021-01-01', }, + children: [{ type: 'text', text: '' }], }, ]} /> @@ -354,7 +355,6 @@ describe('BlocksRenderer', () => { { type: 'text', text: 'Still my paragraph', - // @ts-expect-error unknown is an invalid modifier unknown: true, }, ],