Skip to content

Commit 5cd178b

Browse files
chore: generate
1 parent 97eb9fd commit 5cd178b

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

packages/opencode/test/server/httpapi-bridge.test.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,14 @@ describe("HttpApi Hono bridge", () => {
104104
await using tmp = await tmpdir({ git: true })
105105
await Bun.write(`${tmp.path}/hello.txt`, "hello")
106106

107-
const response = await app({ password: "secret" }).request(fileUrl({ token: Buffer.from("opencode:secret").toString("base64") }), {
108-
headers: {
109-
"x-opencode-directory": tmp.path,
107+
const response = await app({ password: "secret" }).request(
108+
fileUrl({ token: Buffer.from("opencode:secret").toString("base64") }),
109+
{
110+
headers: {
111+
"x-opencode-directory": tmp.path,
112+
},
110113
},
111-
})
114+
)
112115

113116
expect(response.status).toBe(200)
114117
})

0 commit comments

Comments
 (0)