(wait = false)
| 120 | Config.Service.use((svc) => provideCurrentInstance(svc.get(), ctx)).pipe(Effect.scoped, Effect.provide(layer)), |
| 121 | ) |
| 122 | const clearEffect = (wait = false) => |
| 123 | Config.use |
| 124 | .invalidate() |
| 125 | .pipe( |
| 126 | Effect.scoped, |
| 127 | Effect.provide(layer), |
| 128 | Effect.andThen(wait ? Effect.promise(() => InstanceRuntime.disposeAllInstances()) : Effect.void), |
| 129 | ) |
| 130 | const clear = (wait = false) => Effect.runPromise(clearEffect(wait)) |
| 131 | // Get managed config directory from environment (set in preload.ts) |
| 132 | const managedConfigDir = process.env.OPENCODE_TEST_MANAGED_CONFIG_DIR! |
no outgoing calls
no test coverage detected