summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/jsx_import_source_pragma.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/jsx_import_source_pragma.tsx')
-rw-r--r--cli/tests/testdata/jsx_import_source_pragma.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/testdata/jsx_import_source_pragma.tsx b/cli/tests/testdata/jsx_import_source_pragma.tsx
new file mode 100644
index 000000000..c19e53d4f
--- /dev/null
+++ b/cli/tests/testdata/jsx_import_source_pragma.tsx
@@ -0,0 +1,9 @@
+/** @jsxImportSource http://localhost:4545/jsx */
+
+function A() {
+ return "hello";
+}
+
+export function B() {
+ return <A></A>;
+}