summaryrefslogtreecommitdiff
path: root/cli/tests/module_graph
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-23 11:50:15 +1100
committerGitHub <noreply@github.com>2020-10-23 11:50:15 +1100
commit7e2c7fb6c5454e30158d74e1a5786183ea391f07 (patch)
tree42402aa26a0422b9c46d1d441598dbe803b8ed15 /cli/tests/module_graph
parent9fa59f0ca8164f5e02ba2a2fa90b6fdbce5c1afb (diff)
refactor(cli): migrate run and cache to new infrastructure (#7996)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/tests/module_graph')
-rw-r--r--cli/tests/module_graph/file_tests-importjson.ts3
-rw-r--r--cli/tests/module_graph/file_tests-some.json5
2 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/module_graph/file_tests-importjson.ts b/cli/tests/module_graph/file_tests-importjson.ts
new file mode 100644
index 000000000..c2bc2bca7
--- /dev/null
+++ b/cli/tests/module_graph/file_tests-importjson.ts
@@ -0,0 +1,3 @@
+import * as config from "./some.json";
+
+console.log(config);
diff --git a/cli/tests/module_graph/file_tests-some.json b/cli/tests/module_graph/file_tests-some.json
new file mode 100644
index 000000000..567c4ba21
--- /dev/null
+++ b/cli/tests/module_graph/file_tests-some.json
@@ -0,0 +1,5 @@
+{
+ "config": {
+ "debug": true
+ }
+}