mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-31 21:50:53 +00:00
chore: generate
This commit is contained in:
parent
56f3b9044d
commit
66e6662440
1 changed files with 3 additions and 3 deletions
|
|
@ -35,9 +35,9 @@ describe("opencode acp-next initialize/auth subprocess", () => {
|
|||
|
||||
expect(initialized.authMethods?.[0]?.id).toBe("opencode-login")
|
||||
expect(initialized.authMethods?.[0]?._meta?.["terminal-auth"]).toBeDefined()
|
||||
expect(yield* acp.request<AuthenticateResponse>("authenticate", { methodId: "opencode-login" })).toMatchObject(
|
||||
{ result: {} },
|
||||
)
|
||||
expect(yield* acp.request<AuthenticateResponse>("authenticate", { methodId: "opencode-login" })).toMatchObject({
|
||||
result: {},
|
||||
})
|
||||
|
||||
const rejected = yield* acp.request<AuthenticateResponse>("authenticate", { methodId: "missing-auth-method" })
|
||||
expectErrorCode(rejected.error, -32602)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue