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 test cases

Oleg Isonen82535ca86b1f
diff --git a/packages/fonts/src/font-data.test.ts b/packages/fonts/src/font-data.test.ts
index e24af6c803..07d56b075e 100644
--- a/packages/fonts/src/font-data.test.ts
+++ b/packages/fonts/src/font-data.test.ts
@@ -60,6 +60,10 @@ describe("font-data", () => {
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"`);
+ expect(normalizeFamily(`"Roboto Bold"`, "Bold")).toBe(`"Roboto Bold"`);
+ expect(normalizeFamily(`"Roboto Bold" Bold`, "Bold")).toBe(
+ `"Roboto Bold"`
+ );
});
});
});