/** @jsxImportSource ../../src/jsx */ import { assertEquals } from '@std/assert' import { Style, css } from '../../src/helper/css/index.ts' import { Suspense, renderToReadableStream } from '../../src/jsx/streaming.ts' import type { HtmlEscapedString } from '../../src/utils/html.ts' import { HtmlEscapedCallbackPhase, resolveCallback } from '../../src/utils/html.ts' Deno.test('JSX', () => { const Component = ({ name }: { name: string }) => {name} const html = (
1
2
> ) assertEquals(fragment.toString(), '1
2
') }) Deno.test('JSX: Empty Fragment', () => { const Component = () => <>> const html =Loading...
', `