From 999cbfb52bc42c58467e3592d5fead9c4ee8a2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 18 Jul 2022 20:05:26 +0200 Subject: feat: import.meta.resolve() (#15074) This commit adds new "import.meta.resolve()" API which allows to resolve specifiers relative to the module the API is called in. This API supports resolving using import maps. --- cli/tests/integration/run_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index bb46fe1b5..6ed1d5964 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -952,7 +952,7 @@ itest!(if_main { }); itest!(import_meta { - args: "run --quiet --reload import_meta.ts", + args: "run --quiet --reload --import-map=import_meta.importmap.json import_meta.ts", output: "import_meta.ts.out", }); -- cgit v1.2.3