summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-27 23:19:27 +1100
committerGitHub <noreply@github.com>2020-10-27 13:19:27 +0100
commit5af1dcfe292eb5f8cb60e72cf8f532596739b7fc (patch)
tree17bc2cb4710cb90a81916cdc13353c56607a78df /cli/tests/integration_tests.rs
parent30f3b831d31ec47e7d120bcd34194b7b69e6f716 (diff)
fix(cli): do not throw on empty typescript files (#8143)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 5a6bdae14..cfc946a36 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -2273,6 +2273,11 @@ itest!(config {
output: "config.ts.out",
});
+itest!(emtpy_typescript {
+ args: "run --reload subdir/empty.ts",
+ output_str: Some("Check file:[WILDCARD]tests/subdir/empty.ts\n"),
+});
+
itest!(error_001 {
args: "run --reload error_001.ts",
exit_code: 1,