summaryrefslogtreecommitdiff
path: root/tests/testdata/import_attributes/dynamic_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/import_attributes/dynamic_error.ts')
-rw-r--r--tests/testdata/import_attributes/dynamic_error.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testdata/import_attributes/dynamic_error.ts b/tests/testdata/import_attributes/dynamic_error.ts
new file mode 100644
index 000000000..2d9c6757f
--- /dev/null
+++ b/tests/testdata/import_attributes/dynamic_error.ts
@@ -0,0 +1,3 @@
+const data = await import("./data.json");
+
+console.log(data);