summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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