Fix prettier formatting in test setup file

Co-authored-by: karilint <19990676+karilint@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-17 13:03:52 +00:00
co-authored by karilint
parent 6397966453
commit a3e0865996
+8 -2
View File
@@ -2,12 +2,18 @@
// See: https://github.com/remix-run/react-router/discussions/9851
if (typeof global.Request === 'undefined') {
global.Request = class Request {
constructor(public url: string, public init?: RequestInit) {}
constructor(
public url: string,
public init?: RequestInit
) {}
} as typeof Request
}
if (typeof global.Response === 'undefined') {
global.Response = class Response {
constructor(public body?: BodyInit | null, public init?: ResponseInit) {}
constructor(
public body?: BodyInit | null,
public init?: ResponseInit
) {}
} as typeof Response
}