fix(comparisonStore): add missing batch request and effect for initial font loading
This commit is contained in:
@@ -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', () => ({
|
||||
|
||||
Reference in New Issue
Block a user