summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/import_attributes/dynamic_import.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/import_attributes/dynamic_import.ts')
-rw-r--r--cli/tests/testdata/import_attributes/dynamic_import.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/import_attributes/dynamic_import.ts b/cli/tests/testdata/import_attributes/dynamic_import.ts
new file mode 100644
index 000000000..73f348697
--- /dev/null
+++ b/cli/tests/testdata/import_attributes/dynamic_import.ts
@@ -0,0 +1,5 @@
+const data1 = await import("./data.json", { with: { type: "json" } });
+const data2 = await import("./data.json", { assert: { type: "json" } });
+
+console.log(data1);
+console.log(data2);