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

This commit is contained in:
EYHN 2024-03-09 15:01:16 +00:00
parent c99f0249d9
commit ae22d6469d
No known key found for this signature in database
GPG Key ID: 46C9E26A75AB276C

View File

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