chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-30 15:08:03 +00:00
parent dddfcbf0d8
commit 29b1060c67
5 changed files with 23 additions and 25 deletions

View File

@@ -235,11 +235,15 @@ describe("session HttpApi", () => {
const effect = yield* createSession(tmp.path, { title: "effect" })
const body = JSON.stringify({ time: { archived: -1 } })
const legacyResponse = yield* requestWithBackend(false, pathFor(SessionPaths.update, { sessionID: legacy.id }), {
method: "PATCH",
headers,
body,
})
const legacyResponse = yield* requestWithBackend(
false,
pathFor(SessionPaths.update, { sessionID: legacy.id }),
{
method: "PATCH",
headers,
body,
},
)
expect(legacyResponse.status).toBe(200)
expect((yield* json<Session.Info>(legacyResponse)).time.archived).toBe(-1)