summaryrefslogtreecommitdiff
path: root/tests/specs/test/meta/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/test/meta/main.ts')
-rw-r--r--tests/specs/test/meta/main.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/test/meta/main.ts b/tests/specs/test/meta/main.ts
new file mode 100644
index 000000000..f2433a96d
--- /dev/null
+++ b/tests/specs/test/meta/main.ts
@@ -0,0 +1,7 @@
+const main = import.meta.main;
+const url = import.meta.url;
+
+Deno.test("check values", () => {
+ console.log("import.meta.main: %s", main);
+ console.log("import.meta.url: %s", url);
+});