mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 20:41:53 +03:00
fix(core): fix unit test (#6040)
This commit is contained in:
parent
c99f0249d9
commit
ae22d6469d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user