Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

more tests

Oleg Isonenc3f1df50691f
diff --git a/packages/fonts/src/font-data.test.ts b/packages/fonts/src/font-data.test.ts
index 462f0f6d04..e24af6c803 100644
--- a/packages/fonts/src/font-data.test.ts
+++ b/packages/fonts/src/font-data.test.ts
@@ -57,6 +57,9 @@ describe("font-data", () => {
expect(normalizeFamily("Roboto Black", "Black")).toBe("Roboto");
expect(normalizeFamily("Roboto Light", "Light Italic")).toBe("Roboto");
expect(normalizeFamily("Robolder Bold", "Bold")).toBe("Robolder");
+ expect(normalizeFamily(" Roboto X Bold ", "Bold")).toBe("Roboto X");
+ expect(normalizeFamily(" 'Roboto X' Bold ", "Bold")).toBe("'Roboto X'");
+ expect(normalizeFamily(` "Roboto X" Bold `, "Bold")).toBe(`"Roboto X"`);
});
});
});