chore(normalize): move font api responce normalization functions to lib
This commit is contained in:
@@ -111,7 +111,7 @@ describe('Font Normalization', () => {
|
||||
});
|
||||
|
||||
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);
|
||||
|
||||
expect(result.category).toBe('handwriting');
|
||||
Reference in New Issue
Block a user