mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
chore: fix flaky integration::test::meta
(#15192)
This commit is contained in:
parent
944d708e3c
commit
7470b2d2a7
2 changed files with 13 additions and 4 deletions
8
cli/tests/testdata/test/meta.out
vendored
8
cli/tests/testdata/test/meta.out
vendored
|
@ -1,7 +1,11 @@
|
|||
Check [WILDCARD]/test/meta.ts
|
||||
running 1 test from ./test/meta.ts
|
||||
check values ...
|
||||
------- output -------
|
||||
import.meta.main: false
|
||||
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])
|
||||
|
||||
|
|
9
cli/tests/testdata/test/meta.ts
vendored
9
cli/tests/testdata/test/meta.ts
vendored
|
@ -1,2 +1,7 @@
|
|||
console.log("import.meta.main: %s", import.meta.main);
|
||||
console.log("import.meta.url: %s", import.meta.url);
|
||||
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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue