| 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)) |
no outgoing calls
no test coverage detected