test: type ClickClack setup claim fetch mocks (#109398)

This commit is contained in:
Shakker
2026-07-16 23:56:29 +01:00
committed by Shakker
parent b2b6e2d03b
commit efd6d8d3f7
@@ -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: {