(dir: string)
| 16 | } |
| 17 | |
| 18 | function adapter(dir: string) { |
| 19 | return { |
| 20 | name: dir, |
| 21 | description: dir, |
| 22 | configure(input: WorkspaceInfo) { |
| 23 | return input |
| 24 | }, |
| 25 | async create() {}, |
| 26 | async remove() {}, |
| 27 | target() { |
| 28 | return { |
| 29 | type: "local" as const, |
| 30 | directory: dir, |
| 31 | } |
| 32 | }, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | describe("control-plane/adapters", () => { |
| 37 | test("isolates custom adapters by project", async () => { |
no outgoing calls
no test coverage detected