(cfg: ConfigV1.Info)
| 19 | const it = testEffect(LayerNode.compile(LayerNode.group([Truncate.node, FSUtil.node, filesystem]))) |
| 20 | |
| 21 | const configuredLayer = (cfg: ConfigV1.Info) => |
| 22 | LayerNode.compile(LayerNode.group([Truncate.node, FSUtil.node, filesystem, Config.node]), [ |
| 23 | [Config.node, TestConfig.layer({ get: () => Effect.succeed(cfg) })], |
| 24 | ]) |
| 25 | const configuredIt = (cfg: ConfigV1.Info) => testEffect(configuredLayer(cfg)) |
| 26 | |
| 27 | describe("Truncate", () => { |