(code: string)
| 11 | |
| 12 | describe("JSX Attribute Value Utils", () => { |
| 13 | function parseJSX(code: string): t.File { |
| 14 | return parse(code, { |
| 15 | sourceType: "module", |
| 16 | plugins: ["jsx", "typescript"], |
| 17 | }); |
| 18 | } |
| 19 | |
| 20 | function generateCode(ast: t.Node): string { |
| 21 | return generate(ast).code; |
no test coverage detected