fix: format build font spec

This commit is contained in:
copilot-swe-agent[bot]
2026-09-22 08:27:14 +00:00
committed by GitHub
parent 0733b2554b
commit ad93b94f14
+1 -4
View File
@@ -49,10 +49,7 @@ describe('buildFont', () => {
throw new Error('getIconUnicode is undefined');
}
expect(getIconUnicode('camera', '57400', 0)).toEqual([
String.fromCharCode(57400),
57400,
]);
expect(getIconUnicode('camera', '57400', 0)).toEqual([String.fromCharCode(57400), 57400]);
expect(() => getIconUnicode('missing', '57400', 0)).toThrow(
'No codepoint found for icon: missing',
);