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