MCPcopy Create free account
hub / github.com/effect-app/libs / assertXml

Function assertXml

repos/effect/packages/effect/test/schema/toCodec.test.ts:2683–2686  ·  view source on GitHub ↗
(schema: Schema.Codec<T, E, RD>, value: T, expected: string)

Source from the content-addressed store, hash-verified

2681 const encoding = asserts.encoding()
2682 await encoding.succeed(new Set([Option.some(new Date("2021-01-01"))]), [{
2683 _tag: "Some",
2684 value: "2021-01-01T00:00:00.000Z"
2685 }])
2686
2687 const decoding = asserts.decoding()
2688 await decoding.succeed(
2689 [{ _tag: "Some", value: "2021-01-01T00:00:00.000Z" }],

Callers 1

toCodec.test.tsFile · 0.85

Calls 2

strictEqualFunction · 0.90
toCodecStringTreeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…