MCPcopy Create free account
hub / github.com/Effect-TS/effect / assertClientText

Function assertClientText

packages/platform/node/test/HttpApi.test.ts:56–58  ·  view source on GitHub ↗
(res: Effect.Effect<string, E, R>, text: string)

Source from the content-addressed store, hash-verified

54}
55
56function* assertClientText<E, R>(res: Effect.Effect<string, E, R>, text: string) {
57 assert.strictEqual(yield* res, text)
58}
59
60function* assertClientJson<E, R>(res: Effect.Effect<unknown, E, R>, json: unknown) {
61 assert.deepStrictEqual(yield* res, json)

Callers 1

HttpApi.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected