diff options
Diffstat (limited to 'tests/testdata/run/import_blob_url_jsx.ts')
-rw-r--r-- | tests/testdata/run/import_blob_url_jsx.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/testdata/run/import_blob_url_jsx.ts b/tests/testdata/run/import_blob_url_jsx.ts deleted file mode 100644 index 8d645796a..000000000 --- a/tests/testdata/run/import_blob_url_jsx.ts +++ /dev/null @@ -1,16 +0,0 @@ -const blob = new Blob( - ["export default function() {\n return <div>Hello Deno!</div>\n}\n"], - { type: "text/jsx" }, -); -const url = URL.createObjectURL(blob); - -const { default: render } = await import(url); - -// deno-lint-ignore no-explicit-any -(globalThis as any).React = { - createElement(...args: unknown[]) { - console.log(...args); - }, -}; - -render(); |