refactor(opencode): roll out serviceUse proxy across 14 services + tests (#28576)
This commit is contained in:
@@ -35,8 +35,8 @@ function pathFor(template: string, params: Record<string, string>) {
|
||||
|
||||
const withSession = (input?: Parameters<Session.Interface["create"]>[0]) =>
|
||||
Effect.acquireRelease(
|
||||
Session.Service.use((session) => session.create(input)),
|
||||
(created) => Session.Service.use((session) => session.remove(created.id)).pipe(Effect.ignore),
|
||||
Session.use.create(input),
|
||||
(created) => Session.use.remove(created.id).pipe(Effect.ignore),
|
||||
)
|
||||
|
||||
describe("session diff with missing patch (#26574)", () => {
|
||||
|
||||
Reference in New Issue
Block a user