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

Function expandConfigs

compiler/apps/playground/__tests__/e2e/page.spec.ts:24–28  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

22}
23
24async function expandConfigs(page: Page): Promise<void> {
25 const expandButton = page.locator('[title="Expand config editor"]');
26 await expandButton.click();
27 await page.waitForSelector('.monaco-editor-config', {state: 'visible'});
28}
29
30const TEST_SOURCE = `export default function TestComponent({ x }) {
31 return <Button>{x}</Button>;

Callers 1

page.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected