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

Class Other

packages/effect/test/ui/QueryHydration.test.ts:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201 it("is branded by read and label", () => {
202 class Other extends Query.Service<Other>()("users/Other", {
203 args: { id: Schema.String },
204 success: User,
205 error: Schema.String,
206 staleTime: 0
207 }) {}
208 const snapshot = Query.makeSnapshot(def, "user", undefined, undefined)
209 assert.isTrue(Schema.is(resultSchema(GetUser, "user"))(snapshot))
210 assert.isFalse(Schema.is(resultSchema(GetUser, "users"))(snapshot))

Callers 2

Html.tst.tsFile · 0.85
Runtime.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected