summaryrefslogtreecommitdiff
path: root/cli/tests/unit/body_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/body_test.ts')
-rw-r--r--cli/tests/unit/body_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/body_test.ts b/cli/tests/unit/body_test.ts
index 404ae305d..4839d4094 100644
--- a/cli/tests/unit/body_test.ts
+++ b/cli/tests/unit/body_test.ts
@@ -4,7 +4,7 @@ import { assert, assertEquals, unitTest } from "./test_util.ts";
// just a hack to get a body object
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function buildBody(body: any, headers?: Headers): Body {
- const stub = new Request("", {
+ const stub = new Request("http://foo/", {
body: body,
headers,
});