MCPcopy Create free account
hub / github.com/fontsource/fontsource / serialiseAssets

Function serialiseAssets

packages/core/tests/css.test.ts:61–63  ·  view source on GitHub ↗
(
	assets: { filename: string; content: string }[],
)

Source from the content-addressed store, hash-verified

59 * Each file is separated by a header line so diffs are readable.
60 */
61const serialiseAssets = (
62 assets: { filename: string; content: string }[],
63): string => assets.map((a) => `/* ${a.filename} */\n${a.content}`).join('\n');
64
65describe('renderFontFace', () => {
66 it('static font-face', async () => {

Callers 1

css.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected