mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 17:49:08 -05:00
a9aef0d017
Follow up to https://github.com/denoland/deno/pull/22631 that asserts behavior when JSX and TSX files have and do not have pragmas with `jsx*` config.
7 lines
392 B
Text
7 lines
392 B
Text
Download [WILDCARD]
|
|
error: Uncaught (in promise) ReferenceError: React is not defined
|
|
return renderToString(<div>foo.jsx</div>);
|
|
^
|
|
at render (http://127.0.0.1:4250/@denotest/jsx-with-no-pragmas/1.0.0/foo.jsx:4:25)
|
|
at render (http://127.0.0.1:4250/@denotest/jsx-with-no-pragmas/1.0.0/mod.ts:5:15)
|
|
at file:///[WILDCARD]/jsr/jsx_with_no_pragmas/main.ts:3:1
|