summaryrefslogtreecommitdiff
path: root/tests/testdata/run/jsx_precompile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/jsx_precompile')
-rw-r--r--tests/testdata/run/jsx_precompile/no_pragma.out3
-rw-r--r--tests/testdata/run/jsx_precompile/no_pragma.tsx3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/run/jsx_precompile/no_pragma.out b/tests/testdata/run/jsx_precompile/no_pragma.out
new file mode 100644
index 000000000..437995923
--- /dev/null
+++ b/tests/testdata/run/jsx_precompile/no_pragma.out
@@ -0,0 +1,3 @@
+Download http://localhost:4545/jsx/jsx-precompile/index.ts
+Check file:///[WILDCARD]/run/jsx_precompile/no_pragma.tsx
+imported http://localhost:4545/jsx/jsx-precompile/index.ts
diff --git a/tests/testdata/run/jsx_precompile/no_pragma.tsx b/tests/testdata/run/jsx_precompile/no_pragma.tsx
new file mode 100644
index 000000000..7ba21d80d
--- /dev/null
+++ b/tests/testdata/run/jsx_precompile/no_pragma.tsx
@@ -0,0 +1,3 @@
+export function A() {
+ return <h1>hello</h1>;
+}