瀏覽代碼

chore: generate

opencode-agent[bot] 3 月之前
父節點
當前提交
2c819f290f
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      packages/opencode/test/server/httpapi-listen.test.ts

+ 4 - 1
packages/opencode/test/server/httpapi-listen.test.ts

@@ -280,7 +280,10 @@ describe("HttpApi Server.listen", () => {
 
       // Mint with the project directory — succeeds, ticket binds to that scope.
       const scoped = await fetch(
-        new URL(`${PtyPaths.connectToken.replace(":ptyID", info.id)}?directory=${encodeURIComponent(tmp.path)}`, listener.url),
+        new URL(
+          `${PtyPaths.connectToken.replace(":ptyID", info.id)}?directory=${encodeURIComponent(tmp.path)}`,
+          listener.url,
+        ),
         {
           method: "POST",
           headers: { authorization: authorization(), "x-opencode-ticket": "1" },