From 199144daf04dc0f67d1ee775f9f39efeb77562d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Og=C3=B3rek?= Date: Tue, 20 Dec 2022 02:29:44 +0100 Subject: fix(cli): allow for specifying `noErrorTruncation` compiler option (#17127) Fixes https://github.com/denoland/deno/issues/16568 --- cli/tests/check_tests.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tests/check_tests.rs') diff --git a/cli/tests/check_tests.rs b/cli/tests/check_tests.rs index 60f9d3a11..71fb8bb3c 100644 --- a/cli/tests/check_tests.rs +++ b/cli/tests/check_tests.rs @@ -68,6 +68,13 @@ mod check { exit_code: 0, }); + itest!(check_no_error_truncation { + args: "check --quiet check/no_error_truncation/main.ts --config check/no_error_truncation/deno.json", + output: "check/no_error_truncation/main.out", + envs: vec![("NO_COLOR".to_string(), "1".to_string())], + exit_code: 1, + }); + #[test] fn cache_switching_config_then_no_config() { let deno_dir = util::new_deno_dir(); -- cgit v1.2.3