diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-05-01 20:15:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 20:15:28 +0200 |
commit | 6661e7e287aa595eccdc8d49940c40953b1f69bc (patch) | |
tree | 4e936d8aa3ee3acbc7c012072d160a5793401c93 /cli/js/tests/location_test.ts | |
parent | 5d3c49082ffa96fc97af1e7bf637c930dd9cdf66 (diff) |
BREAKING: remove window.location and self.location (#5034)
This commit removes "location" global available on "window",
"globalThis" and "self".
Diffstat (limited to 'cli/js/tests/location_test.ts')
-rw-r--r-- | cli/js/tests/location_test.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cli/js/tests/location_test.ts b/cli/js/tests/location_test.ts deleted file mode 100644 index 2d2faf0c2..000000000 --- a/cli/js/tests/location_test.ts +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { unitTest, assert } from "./test_util.ts"; - -unitTest(function locationBasic(): void { - // location example: file:///Users/rld/src/deno/js/unit_tests.ts - assert(window.location.toString().endsWith("unit_test_runner.ts")); -}); |