summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/cache
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/cache')
-rw-r--r--cli/tests/testdata/cache/json_import/main.ts2
-rw-r--r--cli/tests/testdata/cache/json_import/test.json5
2 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/cache/json_import/main.ts b/cli/tests/testdata/cache/json_import/main.ts
new file mode 100644
index 000000000..78273558f
--- /dev/null
+++ b/cli/tests/testdata/cache/json_import/main.ts
@@ -0,0 +1,2 @@
+import asdf from "./test.json" assert { type: "json" };
+console.log(asdf);
diff --git a/cli/tests/testdata/cache/json_import/test.json b/cli/tests/testdata/cache/json_import/test.json
new file mode 100644
index 000000000..258849a68
--- /dev/null
+++ b/cli/tests/testdata/cache/json_import/test.json
@@ -0,0 +1,5 @@
+{
+ "foo": {
+ "bar": 1
+ }
+}