test: mock fontStore and update FontStore type signatures

This commit is contained in:
Ilia Mashkov
2026-04-09 19:40:31 +03:00
parent 45eac0c396
commit dc6e15492a
6 changed files with 180 additions and 54 deletions

View File

@@ -26,6 +26,7 @@ import {
vi.mock('$entities/Font', () => ({
fetchFontsByIds: vi.fn(),
unifiedFontStore: { fonts: [] },
fontStore: { fonts: [] },
}));
vi.mock('$features/SetupFont', () => ({