1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/tests/testdata/jsr/jsx_with_no_pragmas/main.out
Bartek Iwańczuk a9aef0d017
test(jsr): add tests for jsx files with and without pragmas (#22634)
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.
2024-02-29 19:35:23 +01:00

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