summaryrefslogtreecommitdiff
path: root/cli/tests/050_more_jsons.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/050_more_jsons.ts')
-rw-r--r--cli/tests/050_more_jsons.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/050_more_jsons.ts b/cli/tests/050_more_jsons.ts
new file mode 100644
index 000000000..90deabcd1
--- /dev/null
+++ b/cli/tests/050_more_jsons.ts
@@ -0,0 +1,7 @@
+import j1, { $var } from "./subdir/json_1.json";
+import j2 from "./subdir/json_2.json";
+console.log($var);
+console.log($var.a);
+console.log(j1);
+console.log(j1["with space"]);
+console.log(j2);