MCPcopy Create free account
hub / github.com/astercloud/aster / textComponentArb

Function textComponentArb

ui/src/__tests__/protocol/incremental-update.spec.ts:64–71  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

62 * Generate Text component definition
63 */
64const textComponentArb = (id: string) => fc.record({
65 id: fc.constant(id),
66 component: fc.record({
67 Text: fc.record({
68 text: fc.record({ literalString: fc.string() }),
69 }),
70 }),
71}) as fc.Arbitrary<ComponentDefinition>;
72
73// ==================
74// Property Tests

Callers

nothing calls this directly

Calls 1

recordMethod · 0.80

Tested by

no test coverage detected