summaryrefslogtreecommitdiff
path: root/cli/tests/npm_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-11-30 18:07:32 -0500
committerGitHub <noreply@github.com>2022-11-30 23:07:32 +0000
commitb1e29d1bd09b08bb6d3b307ae5c5c41e0dd012e3 (patch)
treef65cfbb09dbaf2e32d86b965ee879f6db640f4b3 /cli/tests/npm_tests.rs
parentd1962e07afb3761c85cde90bda751c23c144741f (diff)
fix(npm): improve package.json exports support for types (#16880)
Diffstat (limited to 'cli/tests/npm_tests.rs')
-rw-r--r--cli/tests/npm_tests.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/npm_tests.rs b/cli/tests/npm_tests.rs
index c845f8f4a..39dd1d549 100644
--- a/cli/tests/npm_tests.rs
+++ b/cli/tests/npm_tests.rs
@@ -327,6 +327,14 @@ mod npm {
exit_code: 0,
});
+ itest!(types_exports_import_types {
+ args: "run --check=all npm/types_exports_import_types/main.ts",
+ output: "npm/types_exports_import_types/main.out",
+ envs: env_vars_for_npm_tests(),
+ http_server: true,
+ 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",