(key: string, text: string, sourceKey = key)
| 6 | import { testEffect } from "../lib/effect" |
| 7 | |
| 8 | const entry = (key: string, text: string, sourceKey = key) => ({ |
| 9 | key: SystemContext.Key.make(key), |
| 10 | load: Effect.succeed( |
| 11 | SystemContext.make({ |
| 12 | key: SystemContext.Key.make(sourceKey), |
| 13 | codec: Schema.toCodecJson(Schema.String), |
| 14 | load: Effect.succeed(text), |
| 15 | baseline: String, |
| 16 | update: (_previous, current) => current, |
| 17 | }), |
| 18 | ), |
| 19 | }) |
| 20 | |
| 21 | const it = testEffect(AppNodeBuilder.build(SystemContextRegistry.node)) |
| 22 |
no test coverage detected