From b6f49cf4790926df125add2329611a8eff8db9da Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 24 Nov 2022 12:07:36 -0500 Subject: fix(npm/check): prioritize exports over types entry (#16788) --- 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 fb79a1cb0..afd023c85 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -298,6 +298,14 @@ itest!(no_types_in_conditional_exports { http_server: true, }); +itest!(types_entry_value_not_exists { + args: "run --check=all npm/types_entry_value_not_exists/main.ts", + output: "npm/types_entry_value_not_exists/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