Files
oxc-project__oxc/packages/codegen/test/fixtures/coverage.jsx
camc314 eff863b1c8 test(codegen): add source-level coverage (#25879)
## Summary

- add a recursive local fixture runner with consolidated JS, JSX, TS, and TSX coverage cases to address missing test coverage
2026-08-18 16:24:51 +00:00

23 lines
507 B
React

const value = 1;
const props = { value };
const tree = (
<Ns.Component
title="plain"
quote={'contains " a quote'}
enabled
{...props}
>
text {value}
<span>{/* comment */}child</span>
<>
<Leaf />
{value + 1}
</>
{...items}
</Ns.Component>
);
const namespaced = <svg:path xml:lang="en" />;
const attributeChildren = <Comp child={<span />} fragment={<><Leaf /></>} />;
const unicodeText = <span>😀</span>;
const customElement = <x-card data-id="card" />;