From f3cddb96881c2067e9741c41a216b4cfc6a2b2f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 12 Apr 2024 11:27:34 +0100 Subject: test(compile): dynamic JSR imports are working correctly (#23306) Adds a test that ensure that dynamic import from JSR are working correctly for `deno compile`. --- tests/testdata/compile/jsr_dynamic_import/main.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/testdata/compile/jsr_dynamic_import/main.ts (limited to 'tests/testdata/compile') diff --git a/tests/testdata/compile/jsr_dynamic_import/main.ts b/tests/testdata/compile/jsr_dynamic_import/main.ts new file mode 100644 index 000000000..3d6dc343e --- /dev/null +++ b/tests/testdata/compile/jsr_dynamic_import/main.ts @@ -0,0 +1,2 @@ +await import("jsr:@denotest/add"); +console.log("Hello world"); -- cgit v1.2.3