fix(comparisonStore): add missing batch request and effect for initial font loading
Workflow / build (pull_request) Successful in 3m8s
Workflow / publish (pull_request) Has been skipped

This commit is contained in:
Ilia Mashkov
2026-04-15 11:35:37 +03:00
parent 75b62265be
commit bfa99cde20
2 changed files with 64 additions and 8 deletions
@@ -26,6 +26,12 @@ import {
vi.mock('$entities/Font', () => ({
fetchFontsByIds: vi.fn(),
fontStore: { fonts: [] },
appliedFontsManager: {
touch: vi.fn(),
getFontStatus: vi.fn(),
ready: vi.fn(() => Promise.resolve()),
},
getFontUrl: vi.fn(() => 'http://example.com/font.woff2'),
}));
vi.mock('$features/SetupFont', () => ({