MCPcopy Create free account
hub / github.com/BridgeAR/safe-stable-stringify / c

Function c

test.js:1986–1988  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1984 a: 1,
1985 b: 2,
1986 get c () {
1987 return 'a'.repeat(MAX_STRING_LENGTH + 1)
1988 }
1989 }
1990 const expected = '"Error: Stringification failed (Invalid string length)"'
1991 const actual = serializer(obj, null, 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected