summaryrefslogtreecommitdiff
path: root/cli/tests/integration/check_tests.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-07-07 01:22:22 +0200
committerGitHub <noreply@github.com>2023-07-07 01:22:22 +0200
commit679a0c428c2aeebdd5c23141d3653b8fbb9c41fc (patch)
treeffb9033498b94f3827a44aac1e33fa2e487a008d /cli/tests/integration/check_tests.rs
parent106e1bd90e0325198f5484d3d4f02e01a93381a3 (diff)
tests: add more jsxImportSource regression tests (#15592)
This commit adds some regression tests for using `jsxImportSource` in the config file in combination with an import map. These underlying issues were fixed by #15561. Closes #13389 Closes #14723 --------- Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com> Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/integration/check_tests.rs')
-rw-r--r--cli/tests/integration/check_tests.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/integration/check_tests.rs b/cli/tests/integration/check_tests.rs
index ab17713f2..0f1c8cb59 100644
--- a/cli/tests/integration/check_tests.rs
+++ b/cli/tests/integration/check_tests.rs
@@ -48,6 +48,16 @@ itest!(declaration_header_file_with_no_exports {
output_str: Some(""),
});
+itest!(check_jsximportsource_importmap_config {
+ args: "check --quiet --config check/jsximportsource_importmap_config/deno.json check/jsximportsource_importmap_config/main.tsx",
+ output_str: Some(""),
+});
+
+itest!(bundle_jsximportsource_importmap_config {
+ args: "bundle --quiet --config check/jsximportsource_importmap_config/deno.json check/jsximportsource_importmap_config/main.tsx",
+ output: "check/jsximportsource_importmap_config/main.bundle.js",
+});
+
itest!(check_npm_install_diagnostics {
args: "check --quiet check/npm_install_diagnostics/main.ts",
output: "check/npm_install_diagnostics/main.out",