MCPcopy
hub / github.com/facebook/react / formatPrint

Function formatPrint

compiler/apps/playground/__tests__/e2e/page.spec.ts:20–22  ·  view source on GitHub ↗
(data: Array<string>)

Source from the content-addressed store, hash-verified

18}
19
20function formatPrint(data: Array<string>): Promise<string> {
21 return format(data.join(''), {parser: 'babel'});
22}
23
24async function expandConfigs(page: Page): Promise<void> {
25 const expandButton = page.locator('[title="Expand config editor"]');

Callers 1

page.spec.tsFile · 0.85

Calls 2

joinMethod · 0.80
formatFunction · 0.50

Tested by

no test coverage detected