(code: string)
| 5 | import { describe, expect, it } from "vitest"; |
| 6 | |
| 7 | function parseJSX(code: string) { |
| 8 | return parse(code, { |
| 9 | plugins: ["jsx"], |
| 10 | sourceType: "module", |
| 11 | }); |
| 12 | } |
| 13 | |
| 14 | describe("getJsxFunctions", () => { |
| 15 | it("extracts simple function calls", () => { |
no test coverage detected