From 823a5f60151f71846468205f70115d862586b0aa Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 24 Nov 2022 13:13:51 -0500 Subject: fix(npm/types): resolve main entrypoint declaration file when no types entry (#16791) Closes #16782 --- cli/tests/integration/npm_tests.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cli/tests/integration/npm_tests.rs') diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index afd023c85..ea577d412 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -306,6 +306,14 @@ itest!(types_entry_value_not_exists { exit_code: 0, }); +itest!(types_no_types_entry { + args: "run --check=all npm/types_no_types_entry/main.ts", + output: "npm/types_no_types_entry/main.out", + envs: env_vars(), + http_server: true, + exit_code: 0, +}); + #[test] fn parallel_downloading() { let (out, _err) = util::run_and_collect_output_with_args( -- cgit v1.2.3