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 | |
| 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')
| -rw-r--r-- | cli/js/tests/location_test.ts | 7 | ||||
| -rw-r--r-- | cli/js/tests/unit_tests.ts | 1 |
2 files changed, 0 insertions, 8 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")); -}); diff --git a/cli/js/tests/unit_tests.ts b/cli/js/tests/unit_tests.ts index db2df2216..40d0124d3 100644 --- a/cli/js/tests/unit_tests.ts +++ b/cli/js/tests/unit_tests.ts @@ -33,7 +33,6 @@ import "./headers_test.ts"; import "./internals_test.ts"; import "./io_test.ts"; import "./link_test.ts"; -import "./location_test.ts"; import "./make_temp_test.ts"; import "./metrics_test.ts"; import "./dom_iterable_test.ts"; |
