From ae22d6469d765aba2f33fdd0b733c1186462812a Mon Sep 17 00:00:00 2001 From: EYHN Date: Sat, 9 Mar 2024 15:01:16 +0000 Subject: [PATCH] fix(core): fix unit test (#6040) --- scripts/setup/lottie-web.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/setup/lottie-web.ts b/scripts/setup/lottie-web.ts index 19d5beb6c7..17e1f7df79 100644 --- a/scripts/setup/lottie-web.ts +++ b/scripts/setup/lottie-web.ts @@ -6,6 +6,11 @@ vi.mock('lottie-web', () => ({ vi.mock('@blocksuite/presets', () => ({ AffineEditorContainer: vi.fn(), + BiDirectionalLinkPanel: vi.fn(), + DocMetaTags: vi.fn(), + DocTitle: vi.fn(), + EdgelessEditor: vi.fn(), + PageEditor: vi.fn(), })); if (typeof window !== 'undefined' && HTMLCanvasElement) {