summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/import_attributes/dynamic_error.out
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/import_attributes/dynamic_error.out')
-rw-r--r--cli/tests/testdata/import_attributes/dynamic_error.out5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/import_attributes/dynamic_error.out b/cli/tests/testdata/import_attributes/dynamic_error.out
new file mode 100644
index 000000000..927eae0b8
--- /dev/null
+++ b/cli/tests/testdata/import_attributes/dynamic_error.out
@@ -0,0 +1,5 @@
+[WILDCARD]
+error: Uncaught (in promise) TypeError: Expected a "JavaScriptOrWasm" module but loaded a "JSON" module.
+const data = await import("./data.json");
+ ^
+ at async [WILDCARD]dynamic_error.ts:1:14