From b1e29d1bd09b08bb6d3b307ae5c5c41e0dd012e3 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 30 Nov 2022 18:07:32 -0500 Subject: fix(npm): improve package.json exports support for types (#16880) --- cli/tests/npm_tests.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cli/tests/npm_tests.rs') 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", -- cgit v1.2.3