From 7e2c7fb6c5454e30158d74e1a5786183ea391f07 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Fri, 23 Oct 2020 11:50:15 +1100 Subject: refactor(cli): migrate run and cache to new infrastructure (#7996) Co-authored-by: Ryan Dahl --- cli/tests/module_graph/file_tests-importjson.ts | 3 +++ cli/tests/module_graph/file_tests-some.json | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 cli/tests/module_graph/file_tests-importjson.ts create mode 100644 cli/tests/module_graph/file_tests-some.json (limited to 'cli/tests/module_graph') 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 + } +} -- cgit v1.2.3