summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-09-29 17:16:12 +1000
committerGitHub <noreply@github.com>2020-09-29 17:16:12 +1000
commitb014a98534ca10283965a7996fc4e6a5f0dec421 (patch)
treecca34dae75f4b73d0d08381ba9b31d963724f146 /cli/tests
parent970d412a0830a06cdd75b49d2c16dcc933af382a (diff)
refactor: improve graph and tsc_config (#7747)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/config.ts.out2
-rw-r--r--cli/tests/module_graph/tsconfig.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/cli/tests/config.ts.out b/cli/tests/config.ts.out
index 8f5cf7e39..9840dba2e 100644
--- a/cli/tests/config.ts.out
+++ b/cli/tests/config.ts.out
@@ -1,4 +1,4 @@
-[WILDCARD]Unsupported compiler options in "[WILDCARD]config.tsconfig.json"
+[WILDCARD]Unsupported compiler options in "[WILDCARD]config.tsconfig.json".
The following options were ignored:
module, target
error: TS2532 [ERROR]: Object is possibly 'undefined'.
diff --git a/cli/tests/module_graph/tsconfig.json b/cli/tests/module_graph/tsconfig.json
new file mode 100644
index 000000000..a4c5f4f33
--- /dev/null
+++ b/cli/tests/module_graph/tsconfig.json
@@ -0,0 +1,6 @@
+{
+ "compilerOptions": {
+ "target": "ES5",
+ "jsx": "preserve"
+ }
+}