summaryrefslogtreecommitdiff
path: root/cli/tests/integration/check_tests.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-03-05 17:47:04 +0000
committerGitHub <noreply@github.com>2023-03-05 12:47:04 -0500
commit273777f7d9201de92b6f8c6f2f9579321165ec17 (patch)
tree2e325382337062ddc6408e2f76b19b5f68d4b4bd /cli/tests/integration/check_tests.rs
parentc9c782940ea693664c462fb6f94d214ed54a158c (diff)
fix(check): include dts files in tsc roots (#18026)
Diffstat (limited to 'cli/tests/integration/check_tests.rs')
-rw-r--r--cli/tests/integration/check_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/check_tests.rs b/cli/tests/integration/check_tests.rs
index 1273fbdce..f2fe882eb 100644
--- a/cli/tests/integration/check_tests.rs
+++ b/cli/tests/integration/check_tests.rs
@@ -232,6 +232,12 @@ fn ts_no_recheck_on_redirect() {
assert!(std::str::from_utf8(&output.stderr).unwrap().is_empty());
}
+itest!(check_dts {
+ args: "check --quiet check/check_dts.d.ts",
+ output: "check/check_dts.out",
+ exit_code: 1,
+});
+
itest!(package_json_basic {
args: "check main.ts",
output: "package_json/basic/main.check.out",