(directory: string)
| 11 | import { it } from "./lib/effect" |
| 12 | |
| 13 | const provide = (directory: string) => |
| 14 | Effect.provide( |
| 15 | LayerNode.compile(FileSystem.node, [ |
| 16 | [ |
| 17 | Location.node, |
| 18 | Layer.succeed(Location.Service, Location.Service.of(location({ directory: AbsolutePath.make(directory) }))), |
| 19 | ], |
| 20 | ]), |
| 21 | ) |
| 22 | |
| 23 | const withTmp = <A, E, R>(f: (directory: string) => Effect.Effect<A, E, R>) => |
| 24 | Effect.acquireRelease( |
no test coverage detected