1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/tests/test/meta.ts
Casper Beyer b2fcd3d014
fix(cli): side-load test modules (#11515)
This fixes a regression introduced in 1.9 where test modules became main
modules by side loading them in a generated module.
2021-07-26 14:05:44 +02:00

2 lines
108 B
TypeScript

console.log("import.meta.main: %s", import.meta.main);
console.log("import.meta.url: %s", import.meta.url);