diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-07-28 11:24:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 11:24:22 -0400 |
commit | 279030f2b8564ceed76c0ed08b14ea97e2258215 (patch) | |
tree | 865327971df6007b3fdf99fd0135c675e8aa0b13 /cli/tests/integration/npm_tests.rs | |
parent | bddf5acf895ed764074a1bb2a8ab124dd70fd313 (diff) |
fix(npm): improve declaration resolution for filename with different extensions (#19966)
postcss was importing `./index.js` from `./index.d.mts` where there also
existed a `./index.d.ts`.
Closes #19575
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index e14da4aca..a16dd5354 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -2088,3 +2088,11 @@ itest!(reserved_word_exports { envs: env_vars_for_npm_tests(), http_server: true, }); + +itest!(check_package_file_dts_dmts_dcts { + args: "check npm/file_dts_dmts_dcts/main.ts", + output: "npm/file_dts_dmts_dcts/main.out", + envs: env_vars_for_npm_tests_no_sync_download(), + http_server: true, + exit_code: 1, +}); |