From d51375d5a6339930e0a51b4b4db719c5334f4b8b Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sat, 29 Aug 2026 06:48:17 +0800 Subject: [PATCH] style: prettier on rest.test.ts (the 4xx-passthrough test) --- test/rest.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/rest.test.ts b/test/rest.test.ts index 22ea9aa..93090e0 100644 --- a/test/rest.test.ts +++ b/test/rest.test.ts @@ -172,10 +172,10 @@ describe("REST models + inference", () => { const originalFetch = globalThis.fetch globalThis.fetch = (async (url: string | URL | Request) => { if (String(url).includes("ml-stub.example")) { - return new Response( - JSON.stringify({ detail: "model x task translit is not served" }), - { status: 400, headers: { "content-type": "application/json" } }, - ) + return new Response(JSON.stringify({ detail: "model x task translit is not served" }), { + status: 400, + headers: { "content-type": "application/json" }, + }) } return originalFetch(url as RequestInfo) }) as typeof fetch