summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-06-03 12:58:49 -0400
committerGitHub <noreply@github.com>2019-06-03 12:58:49 -0400
commit60d452264198adb3da4820236cf8ea35d33486cd (patch)
tree0efee097b3db0137284ea98382761d6b13b81d2a /tests
parent43c6c1a9f58a8d423a2d55092609e620f9765bcf (diff)
Compiler exit before emit if preEmitDiagnostics found (#2441)
Diffstat (limited to 'tests')
-rw-r--r--tests/error_003_typescript2.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/error_003_typescript2.test b/tests/error_003_typescript2.test
new file mode 100644
index 000000000..62e66d7e7
--- /dev/null
+++ b/tests/error_003_typescript2.test
@@ -0,0 +1,7 @@
+# Supposing that we've already attempted to run error_003_typescript.ts
+# we want to make sure that JS wasn't emitted. Running again without reload flag
+# should result in the same output.
+# https://github.com/denoland/deno/issues/2436
+args: run tests/error_003_typescript.ts
+exit_code: 1
+output: tests/error_003_typescript.ts.out