diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-06 21:06:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-07 01:06:01 +0000 |
| commit | 1587387bccb6dbecd85f5141dd7543f013d47cd8 (patch) | |
| tree | b9829c3e50442deff360cf664555935a0d16a4db /tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas | |
| parent | 87d1ead7d09638172b0e397c8209c759666514da (diff) | |
chore(test): move npm registries to separate servers and to the `tests/registry` folder (#23717)
1. Moves the npm registries to their own dedicated ports.
2. Moves the data files out of `tests/testdata/npm/registry` to
`tests/registry/npm`.
Diffstat (limited to 'tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas')
5 files changed, 0 insertions, 62 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 deleted file mode 100644 index ae310a74e..000000000 --- a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/foo.jsx +++ /dev/null @@ -1,5 +0,0 @@ -import { renderToString } from "npm:preact-render-to-string"; - -export default function render() { - return renderToString(<div>foo.jsx</div>); -} diff --git a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/foo.tsx b/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/foo.tsx deleted file mode 100644 index 021c2d49e..000000000 --- a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/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/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/mod.ts b/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/mod.ts deleted file mode 100644 index 05c549f64..000000000 --- a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/mod.ts +++ /dev/null @@ -1,7 +0,0 @@ -import renderJsx from "./foo.jsx"; -import renderTsx from "./foo.tsx"; - -export function render() { - console.log(renderJsx()); - console.log(renderTsx()); -} diff --git a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0_meta.json b/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0_meta.json deleted file mode 100644 index 417950442..000000000 --- a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0_meta.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "exports": { - ".": "./mod.ts" - }, - "moduleGraph1": { - "/mod.ts": { - "dependencies": [{ - "type": "static", - "kind": "import", - "range": [[0, 0], [0, 35]], - "specifier": "./foo.jsx", - "specifierRange": [[0, 22], [0, 33]] - }, { - "type": "static", - "kind": "import", - "range": [[1, 0], [1, 25]], - "specifier": "./foo.tsx", - "specifierRange": [[1, 22], [1, 33]] - }] - }, - "/foo.jsx": { - "dependencies": [{ - "type": "static", - "kind": "import", - "range": [[0, 0], [0, 60]], - "specifier": "npm:preact-render-to-string", - "specifierRange": [[0, 32], [0, 60]] - }] - }, - "/foo.tsx": { - "dependencies": [{ - "type": "static", - "kind": "import", - "range": [[0, 0], [0, 60]], - "specifier": "npm:preact-render-to-string", - "specifierRange": [[0, 32], [0, 60]] - }] - } - } -} diff --git a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/meta.json b/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/meta.json deleted file mode 100644 index 02601e4d0..000000000 --- a/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "versions": { - "1.0.0": {} - } -} |
