summaryrefslogtreecommitdiff
path: root/tests/testdata/jsr/jsx_with_pragmas/main.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-02-29 18:35:23 +0000
committerGitHub <noreply@github.com>2024-02-29 19:35:23 +0100
commita9aef0d017bd053d7f4014c363dbc5898ced1a2e (patch)
tree209e64c11ee936dedd458006e9a17ab345a92b41 /tests/testdata/jsr/jsx_with_pragmas/main.ts
parent8d9a54ca1887e4168439ffb9863ac67da066eccc (diff)
test(jsr): add tests for jsx files with and without pragmas (#22634)
Follow up to https://github.com/denoland/deno/pull/22631 that asserts behavior when JSX and TSX files have and do not have pragmas with `jsx*` config.
Diffstat (limited to 'tests/testdata/jsr/jsx_with_pragmas/main.ts')
-rw-r--r--tests/testdata/jsr/jsx_with_pragmas/main.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testdata/jsr/jsx_with_pragmas/main.ts b/tests/testdata/jsr/jsx_with_pragmas/main.ts
new file mode 100644
index 000000000..4a38c56ad
--- /dev/null
+++ b/tests/testdata/jsr/jsx_with_pragmas/main.ts
@@ -0,0 +1,3 @@
+import { render } from "jsr:@denotest/jsx-with-pragmas@1.0.0";
+
+render();