(read: string, value: A)
| 28 | const sourceOf = (facts: Facts) => { |
| 29 | const reads: string[] = []; |
| 30 | const answer = <A>(read: string, value: A) => |
| 31 | Effect.suspend(() => { |
| 32 | reads.push(read); |
| 33 | return facts.failing === read ? Effect.fail("unavailable") : Effect.succeed(value); |
| 34 | }); |
| 35 | const source: V2ImportSource = { |
| 36 | emailVerified: (userId) => { |
| 37 | expect(userId).toBe(USER); |
no test coverage detected