opencode-agent[bot] 2 месяцев назад
Родитель
Сommit
4d3294727c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      packages/opencode/test/plugin/auth-override.test.ts

+ 3 - 1
packages/opencode/test/plugin/auth-override.test.ts

@@ -67,7 +67,9 @@ 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.use.methods().pipe(Effect.provide(providerAuthLayer(tmp.directory, [plugin])))
+        const methods = yield* ProviderAuth.use
+          .methods()
+          .pipe(Effect.provide(providerAuthLayer(tmp.directory, [plugin])))
         const plainMethods = yield* ProviderAuth.use
           .methods()
           .pipe(Effect.provide(providerAuthLayer(plain, [])), provideInstance(plain))