(code: string)
| 12 | } from "./index"; |
| 13 | |
| 14 | function parse(code: string) { |
| 15 | return createPayload({ code, params: {} as any, relativeFilePath: "x.tsx" }) |
| 16 | .ast as unknown as t.Node; |
| 17 | } |
| 18 | |
| 19 | describe("getOrCreateImport", () => { |
| 20 | it("inserts import when missing and reuses existing import when present", () => { |
no test coverage detected