aboutsummaryrefslogtreecommitdiff
path: root/test/compress/imports.js
diff options
3ba017ce65b261d15ed3098ae40c3b2a1b'>Diffstat (limited to 'test/compress/imports.js')
context:
space:
mode:2020-07-25gnu: mpg123: Update to 1.26.3....Tobias Geerinckx-Rice
-rw-r--r--test/compress/imports.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/compress/imports.js b/test/compress/imports.js
index cdc239cd..03ebf997 100644
--- a/test/compress/imports.js
+++ b/test/compress/imports.js
@@ -47,6 +47,13 @@ dynamic: {
expect_exact: '(async a=>await import(a))("foo").then(bar);'
}
+dynamic_nought: {
+ input: {
+ import(foo);
+ }
+ expect_exact: "import(foo);"
+}
+
import_meta: {
input: {
console.log(import.meta, import.meta.url);