mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
4dc004f0a2
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
7 lines
296 B
TypeScript
7 lines
296 B
TypeScript
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
|
import { test, assert } from "./test_util.ts";
|
|
|
|
test(function locationBasic(): void {
|
|
// location example: file:///Users/rld/src/deno/js/unit_tests.ts
|
|
assert(window.location.toString().endsWith("unit_tests.ts"));
|
|
});
|