summaryrefslogtreecommitdiff
path: root/tests/testdata/import_attributes/dynamic_error.out
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/import_attributes/dynamic_error.out')
-rw-r--r--tests/testdata/import_attributes/dynamic_error.out4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testdata/import_attributes/dynamic_error.out b/tests/testdata/import_attributes/dynamic_error.out
new file mode 100644
index 000000000..24f29de72
--- /dev/null
+++ b/tests/testdata/import_attributes/dynamic_error.out
@@ -0,0 +1,4 @@
+error: Uncaught (in promise) TypeError: Attempted to load JSON module without specifying "type": "json" attribute in the import statement.
+const data = await import("./data.json");
+ ^
+ at async [WILDCARD]dynamic_error.ts:1:14