From 60d452264198adb3da4820236cf8ea35d33486cd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 3 Jun 2019 12:58:49 -0400 Subject: Compiler exit before emit if preEmitDiagnostics found (#2441) --- tests/error_003_typescript2.test | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/error_003_typescript2.test (limited to 'tests') 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 -- cgit v1.2.3