chore: generate

This commit is contained in:
opencode-agent[bot] 2026-04-24 22:05:23 +00:00
parent 97eb9fdee8
commit 5cd178ba70

View file

@ -104,11 +104,14 @@ describe("HttpApi Hono bridge", () => {
await using tmp = await tmpdir({ git: true })
await Bun.write(`${tmp.path}/hello.txt`, "hello")
const response = await app({ password: "secret" }).request(fileUrl({ token: Buffer.from("opencode:secret").toString("base64") }), {
headers: {
"x-opencode-directory": tmp.path,
const response = await app({ password: "secret" }).request(
fileUrl({ token: Buffer.from("opencode:secret").toString("base64") }),
{
headers: {
"x-opencode-directory": tmp.path,
},
},
})
)
expect(response.status).toBe(200)
})