diff options
Diffstat (limited to 'tests/testdata/run/071_location_unset.ts')
-rw-r--r-- | tests/testdata/run/071_location_unset.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/testdata/run/071_location_unset.ts b/tests/testdata/run/071_location_unset.ts deleted file mode 100644 index f560d2716..000000000 --- a/tests/testdata/run/071_location_unset.ts +++ /dev/null @@ -1,16 +0,0 @@ -console.log(Location); -console.log(Location.prototype); -console.log(location); - -globalThis.location = { - hash: "#bat", - host: "foo", - hostname: "foo", - href: "https://foo/bar?baz#bat", - origin: "https://foo", - pathname: "/bar", - port: "", - protocol: "https:", - search: "?baz", -}; -console.log(location.pathname); |