From e61e81eb57351782862aa50775ce4348f10b1856 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 7 Jan 2021 18:06:08 +0000 Subject: feat: add --location= and globalThis.location (#7369) --- cli/tests/072_location_relative_fetch.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 cli/tests/072_location_relative_fetch.ts (limited to 'cli/tests/072_location_relative_fetch.ts') diff --git a/cli/tests/072_location_relative_fetch.ts b/cli/tests/072_location_relative_fetch.ts new file mode 100644 index 000000000..d4764bf7f --- /dev/null +++ b/cli/tests/072_location_relative_fetch.ts @@ -0,0 +1,2 @@ +const response = await fetch("fetch/hello.txt"); +console.log(await response.text()); -- cgit v1.2.3