mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
test: type ClickClack setup claim fetch mocks (#109398)
This commit is contained in:
@@ -11,7 +11,7 @@ function requestBodyJson(init: RequestInit | undefined): unknown {
|
||||
|
||||
describe("ClickClack setup-code claim", () => {
|
||||
it("claims over guarded HTTPS without bearer authentication", async () => {
|
||||
const fetchMock = vi.fn(async () =>
|
||||
const fetchMock = vi.fn(async (_input: string | URL | Request, _init?: RequestInit) =>
|
||||
Response.json({
|
||||
token: "test-token",
|
||||
bot: {
|
||||
|
||||
Reference in New Issue
Block a user