MCPcopy Create free account
hub / github.com/Noumena-Network/code / normalizeSnapshotText

Function normalizeSnapshotText

src/testing/textSnapshotHarness.ts:12–14  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

10}
11
12function normalizeSnapshotText(text: string): string {
13 return text.replace(/\r\n/g, '\n')
14}
15
16export function normalizeVisibleSurfaceText(text: string): string {
17 return normalizeSnapshotText(text)

Callers 3

formatTextSnapshotFunction · 0.85
expectTextSnapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected