(code: string)
| 6 | import * as t from "@babel/types"; |
| 7 | |
| 8 | function parseJSX(code: string) { |
| 9 | return parse(code, { |
| 10 | plugins: ["jsx"], |
| 11 | sourceType: "module", |
| 12 | }); |
| 13 | } |
| 14 | |
| 15 | describe("getJsxExpressions", () => { |
| 16 | it("extracts simple expressions", () => { |
no test coverage detected