diff options
Diffstat (limited to 'cli/tests/testdata/jsx')
| -rw-r--r-- | cli/tests/testdata/jsx/deno-jsx-error.jsonc | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/deno-jsx-import-map.jsonc | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/deno-jsx-precompile.jsonc | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/deno-jsx.json | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/deno-jsx.jsonc | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/deno-jsxdev-import-map.jsonc | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/deno-jsxdev.jsonc | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/deno.lock | 6 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/import-map-scoped.json | 8 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/import-map.json | 7 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/jsx-dev-runtime/index.ts | 12 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/jsx-precompile/index.ts | 23 | ||||
| -rw-r--r-- | cli/tests/testdata/jsx/jsx-runtime/index.ts | 12 |
13 files changed, 0 insertions, 110 deletions
diff --git a/cli/tests/testdata/jsx/deno-jsx-error.jsonc b/cli/tests/testdata/jsx/deno-jsx-error.jsonc deleted file mode 100644 index 37cb4dd91..000000000 --- a/cli/tests/testdata/jsx/deno-jsx-error.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "jsxImportSource": "./nonexistent" - } -} diff --git a/cli/tests/testdata/jsx/deno-jsx-import-map.jsonc b/cli/tests/testdata/jsx/deno-jsx-import-map.jsonc deleted file mode 100644 index 5adbfa8b5..000000000 --- a/cli/tests/testdata/jsx/deno-jsx-import-map.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "jsxImportSource": "jsx" - } -} diff --git a/cli/tests/testdata/jsx/deno-jsx-precompile.jsonc b/cli/tests/testdata/jsx/deno-jsx-precompile.jsonc deleted file mode 100644 index 95ae1b9f3..000000000 --- a/cli/tests/testdata/jsx/deno-jsx-precompile.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "jsx": "precompile", - "jsxImportSource": "jsx-precompile" - } -} diff --git a/cli/tests/testdata/jsx/deno-jsx.json b/cli/tests/testdata/jsx/deno-jsx.json deleted file mode 100644 index 311409ea3..000000000 --- a/cli/tests/testdata/jsx/deno-jsx.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "jsxImportSource": "http://localhost:4545/jsx" - } -} diff --git a/cli/tests/testdata/jsx/deno-jsx.jsonc b/cli/tests/testdata/jsx/deno-jsx.jsonc deleted file mode 100644 index 311409ea3..000000000 --- a/cli/tests/testdata/jsx/deno-jsx.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "jsxImportSource": "http://localhost:4545/jsx" - } -} diff --git a/cli/tests/testdata/jsx/deno-jsxdev-import-map.jsonc b/cli/tests/testdata/jsx/deno-jsxdev-import-map.jsonc deleted file mode 100644 index 7481d5a2d..000000000 --- a/cli/tests/testdata/jsx/deno-jsxdev-import-map.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsxdev", - "jsxImportSource": "jsx" - } -} diff --git a/cli/tests/testdata/jsx/deno-jsxdev.jsonc b/cli/tests/testdata/jsx/deno-jsxdev.jsonc deleted file mode 100644 index ae5bdf9f1..000000000 --- a/cli/tests/testdata/jsx/deno-jsxdev.jsonc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsxdev", - "jsxImportSource": "http://localhost:4545/jsx" - } -} diff --git a/cli/tests/testdata/jsx/deno.lock b/cli/tests/testdata/jsx/deno.lock deleted file mode 100644 index 011e8fe10..000000000 --- a/cli/tests/testdata/jsx/deno.lock +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": "2", - "remote": { - "http://localhost:4545/jsx/jsx-dev-runtime/index.ts": "183c5bf1cfb82b15fc1e8cca15593d4816035759532d851abd4476df378c8412" - } -}
\ No newline at end of file diff --git a/cli/tests/testdata/jsx/import-map-scoped.json b/cli/tests/testdata/jsx/import-map-scoped.json deleted file mode 100644 index 9b2005128..000000000 --- a/cli/tests/testdata/jsx/import-map-scoped.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "scopes": { - "../subdir/": { - "jsx/jsx-runtime": "http://localhost:4545/jsx/jsx-runtime/index.ts", - "jsx/jsx-dev-runtime": "http://localhost:4545/jsx/jsx-dev-runtime/index.ts" - } - } -} diff --git a/cli/tests/testdata/jsx/import-map.json b/cli/tests/testdata/jsx/import-map.json deleted file mode 100644 index 1bfa04e2f..000000000 --- a/cli/tests/testdata/jsx/import-map.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "imports": { - "jsx/jsx-runtime": "http://localhost:4545/jsx/jsx-runtime/index.ts", - "jsx/jsx-dev-runtime": "http://localhost:4545/jsx/jsx-dev-runtime/index.ts", - "jsx-precompile/jsx-runtime": "http://localhost:4545/jsx/jsx-precompile/index.ts" - } -} diff --git a/cli/tests/testdata/jsx/jsx-dev-runtime/index.ts b/cli/tests/testdata/jsx/jsx-dev-runtime/index.ts deleted file mode 100644 index 15e2029c8..000000000 --- a/cli/tests/testdata/jsx/jsx-dev-runtime/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -// deno-lint-ignore-file no-explicit-any -export function jsx( - _type: any, - _props: any, - _key: any, - _source: any, - _self: any, -) {} -export const jsxs = jsx; -export const jsxDEV = jsx; -export const Fragment = Symbol("Fragment"); -console.log("imported", import.meta.url); diff --git a/cli/tests/testdata/jsx/jsx-precompile/index.ts b/cli/tests/testdata/jsx/jsx-precompile/index.ts deleted file mode 100644 index 0d56095e0..000000000 --- a/cli/tests/testdata/jsx/jsx-precompile/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -// deno-lint-ignore-file no-explicit-any -export function jsx( - _type: any, - _props: any, - _key: any, - _source: any, - _self: any, -) {} -// deno-lint-ignore-file no-explicit-any -export const jsxAttr = (name: string, value: any) => `${name}="${value}"`; -// deno-lint-ignore-file no-explicit-any -export const jsxTemplate = (_template: string[], ..._exprs: any[]) => ""; -// deno-lint-ignore-file no-explicit-any -export const jsxEscape = (_value: any) => ""; -console.log("imported", import.meta.url); - -declare global { - namespace JSX { - interface IntrinsicElements { - [tagName: string]: Record<string, any>; - } - } -} diff --git a/cli/tests/testdata/jsx/jsx-runtime/index.ts b/cli/tests/testdata/jsx/jsx-runtime/index.ts deleted file mode 100644 index 15e2029c8..000000000 --- a/cli/tests/testdata/jsx/jsx-runtime/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -// deno-lint-ignore-file no-explicit-any -export function jsx( - _type: any, - _props: any, - _key: any, - _source: any, - _self: any, -) {} -export const jsxs = jsx; -export const jsxDEV = jsx; -export const Fragment = Symbol("Fragment"); -console.log("imported", import.meta.url); |
