summaryrefslogtreecommitdiff
path: root/tests/testdata/publish/unsupported_jsx_tsx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/publish/unsupported_jsx_tsx')
-rw-r--r--tests/testdata/publish/unsupported_jsx_tsx/foo.jsx5
-rw-r--r--tests/testdata/publish/unsupported_jsx_tsx/foo.tsx5
-rw-r--r--tests/testdata/publish/unsupported_jsx_tsx/jsr.jsonc11
-rw-r--r--tests/testdata/publish/unsupported_jsx_tsx/mod.out17
-rw-r--r--tests/testdata/publish/unsupported_jsx_tsx/mod.ts7
5 files changed, 0 insertions, 45 deletions
diff --git a/tests/testdata/publish/unsupported_jsx_tsx/foo.jsx b/tests/testdata/publish/unsupported_jsx_tsx/foo.jsx
deleted file mode 100644
index 021c2d49e..000000000
--- a/tests/testdata/publish/unsupported_jsx_tsx/foo.jsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { renderToString } from "npm:preact-render-to-string";
-
-export default function render() {
- return renderToString(<div>foo.tsx</div>);
-}
diff --git a/tests/testdata/publish/unsupported_jsx_tsx/foo.tsx b/tests/testdata/publish/unsupported_jsx_tsx/foo.tsx
deleted file mode 100644
index 021c2d49e..000000000
--- a/tests/testdata/publish/unsupported_jsx_tsx/foo.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { renderToString } from "npm:preact-render-to-string";
-
-export default function render() {
- return renderToString(<div>foo.tsx</div>);
-}
diff --git a/tests/testdata/publish/unsupported_jsx_tsx/jsr.jsonc b/tests/testdata/publish/unsupported_jsx_tsx/jsr.jsonc
deleted file mode 100644
index 7aea08842..000000000
--- a/tests/testdata/publish/unsupported_jsx_tsx/jsr.jsonc
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "name": "@foo/bar",
- "version": "1.0.0",
- "exports": {
- ".": "./mod.ts"
- },
- "compilerOptions": {
- "jsx": "react-jsx",
- "jsxImportSource": "npm:preact"
- }
-}
diff --git a/tests/testdata/publish/unsupported_jsx_tsx/mod.out b/tests/testdata/publish/unsupported_jsx_tsx/mod.out
deleted file mode 100644
index 5f085fb33..000000000
--- a/tests/testdata/publish/unsupported_jsx_tsx/mod.out
+++ /dev/null
@@ -1,17 +0,0 @@
-[WILDCARD]
-Check file:///[WILDCARD]/publish/unsupported_jsx_tsx/mod.ts
-Checking for slow types in the public API...
-Check file:///[WILDCARD]/publish/unsupported_jsx_tsx/mod.ts
-warning[unsupported-jsx-tsx]: JSX and TSX files are currently not supported
- --> [WILDCARD]foo.jsx
-
- info: follow https://github.com/jsr-io/jsr/issues/24 for updates
-
-warning[unsupported-jsx-tsx]: JSX and TSX files are currently not supported
- --> [WILDCARD]foo.tsx
-
- info: follow https://github.com/jsr-io/jsr/issues/24 for updates
-
-Publishing @foo/bar@1.0.0 ...
-Successfully published @foo/bar@1.0.0
-Visit http://127.0.0.1:4250/@foo/bar@1.0.0 for details
diff --git a/tests/testdata/publish/unsupported_jsx_tsx/mod.ts b/tests/testdata/publish/unsupported_jsx_tsx/mod.ts
deleted file mode 100644
index 4631a829d..000000000
--- a/tests/testdata/publish/unsupported_jsx_tsx/mod.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import fooTsx from "./foo.tsx";
-import fooJsx from "./foo.jsx";
-
-export function renderTsxJsx() {
- console.log(fooTsx());
- console.log(fooJsx());
-}