summaryrefslogtreecommitdiff
path: root/cli/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-11-24 12:07:36 -0500
committerGitHub <noreply@github.com>2022-11-24 17:07:36 +0000
commitb6f49cf4790926df125add2329611a8eff8db9da (patch)
tree513a81e64185115e50cd06636a410178ed23c14b /cli/tests/integration/npm_tests.rs
parent04afc06b00b28645462f3cca1626d22c1cd579f8 (diff)
fix(npm/check): prioritize exports over types entry (#16788)
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r--cli/tests/integration/npm_tests.rs8
1 files changed, 8 insertions, 0 deletions
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(