summaryrefslogtreecommitdiff
path: root/tests/specs/jsr/jsx_with_pragmas
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-15 15:46:51 -0400
committerGitHub <noreply@github.com>2024-03-15 15:46:51 -0400
commite40f9a5c14c51b6d05812e48fa072148fe79c74d (patch)
treee492e91717c7ddda3e31139f870706870449cdde /tests/specs/jsr/jsx_with_pragmas
parent392579b5a673964752e38e1e0d9c2c9ae223a382 (diff)
chore: move more tests away from itest (#22909)
Part of #22907
Diffstat (limited to 'tests/specs/jsr/jsx_with_pragmas')
-rw-r--r--tests/specs/jsr/jsx_with_pragmas/__test__.jsonc5
-rw-r--r--tests/specs/jsr/jsx_with_pragmas/main.out3
-rw-r--r--tests/specs/jsr/jsx_with_pragmas/main.ts3
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/specs/jsr/jsx_with_pragmas/__test__.jsonc b/tests/specs/jsr/jsx_with_pragmas/__test__.jsonc
new file mode 100644
index 000000000..a6fa5c7c3
--- /dev/null
+++ b/tests/specs/jsr/jsx_with_pragmas/__test__.jsonc
@@ -0,0 +1,5 @@
+{
+ "base": "jsr",
+ "args": "run main.ts",
+ "output": "main.out"
+}
diff --git a/tests/specs/jsr/jsx_with_pragmas/main.out b/tests/specs/jsr/jsx_with_pragmas/main.out
new file mode 100644
index 000000000..c149ba010
--- /dev/null
+++ b/tests/specs/jsr/jsx_with_pragmas/main.out
@@ -0,0 +1,3 @@
+Download [WILDCARD]
+<div>foo.jsx</div>
+<div>foo.tsx</div>
diff --git a/tests/specs/jsr/jsx_with_pragmas/main.ts b/tests/specs/jsr/jsx_with_pragmas/main.ts
new file mode 100644
index 000000000..4a38c56ad
--- /dev/null
+++ b/tests/specs/jsr/jsx_with_pragmas/main.ts
@@ -0,0 +1,3 @@
+import { render } from "jsr:@denotest/jsx-with-pragmas@1.0.0";
+
+render();