MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / textOf

Function textOf

graph-ui/src/settings/SettingsPanel.test.tsx:94–94  ·  view source on GitHub ↗
(node: Element | null)

Source from the content-addressed store, hash-verified

92const all = (testId: string): Element[] =>
93 [...container.querySelectorAll(`[data-testid="${testId}"]`)];
94const textOf = (node: Element | null): string => (node?.textContent ?? '').replace(/\s+/g, ' ').trim();
95
96/**
97 * In ein gesteuertes Feld schreiben, so wie ein Mensch es tut.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected