diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-07-27 14:09:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-27 14:09:02 -0400 |
| commit | fa52b5e73374dfd1e76f82207dd59020b6520148 (patch) | |
| tree | ca41133be253fb4feecba5a9848786eddb3b8c68 /cli/tests/integration | |
| parent | 7b29f1c934c3754a49be4100ba0ed5ad628255a8 (diff) | |
fix: do not include jsx without `@ts-check` in tsc roots (#19964)
Closes #19928
Diffstat (limited to 'cli/tests/integration')
| -rw-r--r-- | cli/tests/integration/check_tests.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/integration/check_tests.rs b/cli/tests/integration/check_tests.rs index 04e5dedba..54e93ca35 100644 --- a/cli/tests/integration/check_tests.rs +++ b/cli/tests/integration/check_tests.rs @@ -58,6 +58,14 @@ itest!(bundle_jsximportsource_importmap_config { output: "check/jsximportsource_importmap_config/main.bundle.js", }); +itest!(jsx_not_checked { + args: "check check/jsx_not_checked/main.jsx", + output: "check/jsx_not_checked/main.out", + envs: env_vars_for_npm_tests_no_sync_download(), + http_server: true, + exit_code: 1, +}); + itest!(check_npm_install_diagnostics { args: "check --quiet check/npm_install_diagnostics/main.ts", output: "check/npm_install_diagnostics/main.out", |
