mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-01 17:50:50 +08:00
fix(core): fix unit test (#6040)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user