summaryrefslogtreecommitdiffhomepage
path: root/src/features/layout/adapter/http.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/layout/adapter/http.test.ts')
-rw-r--r--src/features/layout/adapter/http.test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/layout/adapter/http.test.ts b/src/features/layout/adapter/http.test.ts
index 5b50715..1801ca6 100644
--- a/src/features/layout/adapter/http.test.ts
+++ b/src/features/layout/adapter/http.test.ts
@@ -16,7 +16,8 @@ function fetchReturning(
): typeof fetch {
return async (input: string | URL | Request, init?: RequestInit): Promise<Response> => {
if (capture !== undefined) {
- capture.url = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
+ capture.url =
+ typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
capture.init = init;
}
return new Response(JSON.stringify(body), {