1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

chore: fix flaky integration::test::meta (#15192)

This commit is contained in:
David Sherret 2022-07-13 11:01:52 -04:00 committed by GitHub
parent 944d708e3c
commit 7470b2d2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View file

@ -1,7 +1,11 @@
Check [WILDCARD]/test/meta.ts Check [WILDCARD]/test/meta.ts
running 1 test from ./test/meta.ts
check values ...
------- output -------
import.meta.main: false import.meta.main: false
import.meta.url: [WILDCARD]/test/meta.ts import.meta.url: [WILDCARD]/test/meta.ts
running 0 tests from ./test/meta.ts ----- output end -----
check values ... ok ([WILDCARD])
ok | 0 passed | 0 failed ([WILDCARD]) ok | 1 passed | 0 failed ([WILDCARD])

View file

@ -1,2 +1,7 @@
console.log("import.meta.main: %s", import.meta.main); const main = import.meta.main;
console.log("import.meta.url: %s", import.meta.url); const url = import.meta.url;
Deno.test("check values", () => {
console.log("import.meta.main: %s", main);
console.log("import.meta.url: %s", url);
});