summaryrefslogtreecommitdiff
path: root/tests/testdata/jsr/registry/@denotest/jsx-with-pragmas/1.0.0/foo.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/jsr/registry/@denotest/jsx-with-pragmas/1.0.0/foo.tsx')
-rw-r--r--tests/testdata/jsr/registry/@denotest/jsx-with-pragmas/1.0.0/foo.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testdata/jsr/registry/@denotest/jsx-with-pragmas/1.0.0/foo.tsx b/tests/testdata/jsr/registry/@denotest/jsx-with-pragmas/1.0.0/foo.tsx
new file mode 100644
index 000000000..b34f2952e
--- /dev/null
+++ b/tests/testdata/jsr/registry/@denotest/jsx-with-pragmas/1.0.0/foo.tsx
@@ -0,0 +1,7 @@
+/** @jsxRuntime automatic *//** @jsxImportSource npm:preact */
+// deno-fmt-ignore-file
+import { renderToString } from "npm:preact-render-to-string";
+
+export default function render() {
+ return renderToString(<div>foo.tsx</div>);
+}