refactor(opencode): roll out serviceUse proxy across 14 services + tests (#28576)
This commit is contained in:
@@ -72,10 +72,10 @@ describe("plugin.auth-override", () => {
|
||||
|
||||
const plain = yield* tmpdirScoped({ git: true })
|
||||
const plugin = pathToFileURL(path.join(pluginDir, "custom-copilot-auth.ts")).href
|
||||
const methods = yield* ProviderAuth.Service.use((svc) => svc.methods()).pipe(
|
||||
const methods = yield* ProviderAuth.use.methods().pipe(
|
||||
Effect.provide(layer(tmp.directory, [plugin])),
|
||||
)
|
||||
const plainMethods = yield* ProviderAuth.Service.use((svc) => svc.methods()).pipe(
|
||||
const plainMethods = yield* ProviderAuth.use.methods().pipe(
|
||||
Effect.provide(layer(plain, [])),
|
||||
provideInstance(plain),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user