Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): fix unit test (#6040)

EYHNae22d6469d76
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) {