From 613657154b5620692f2e566364720f6d7a7784ee Mon Sep 17 00:00:00 2001 From: Gabriel Massadas Date: Thu, 21 Nov 2024 19:27:58 +0000 Subject: [PATCH] Lint files --- packages/wrangler/src/__tests__/ai.local.test.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/wrangler/src/__tests__/ai.local.test.ts b/packages/wrangler/src/__tests__/ai.local.test.ts index 7b11bf8eb8bb..ef310ab9bba3 100644 --- a/packages/wrangler/src/__tests__/ai.local.test.ts +++ b/packages/wrangler/src/__tests__/ai.local.test.ts @@ -12,14 +12,17 @@ describe("ai", () => { const url = "http://internal.ai/ai/test/path?version=123"; const resp = await AIFetcher( new Request(url, { - method: 'PATCH', + method: "PATCH", headers: { "x-example": "test", }, }) ); - expect(await resp.json()).toEqual({ xForwardedFor: url, method: 'PATCH' }); + expect(await resp.json()).toEqual({ + xForwardedFor: url, + method: "PATCH", + }); }); }); }); @@ -32,7 +35,7 @@ function mockAIProxyRequest() { (c) => { return HttpResponse.json({ xForwardedFor: c.request.headers.get("X-Forwarded-Host"), - method: c.request.method + method: c.request.method, }); }, { once: true }