chore(normalize): move font api responce normalization functions to lib

This commit is contained in:
Ilia Mashkov
2026-01-13 19:53:26 +03:00
parent e098da2dbb
commit 5fcb381b11
2 changed files with 1 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ describe('Font Normalization', () => {
}); });
it('handles cursive category (maps to handwriting)', () => { it('handles cursive category (maps to handwriting)', () => {
const font: FontItem = { ...mockGoogleFont, category: 'cursive' }; const font: FontItem = { ...mockGoogleFont, category: 'cursive' as any };
const result = normalizeGoogleFont(font); const result = normalizeGoogleFont(font);
expect(result.category).toBe('handwriting'); expect(result.category).toBe('handwriting');