(cwd: string, homeDir: string, files: Record<string, string>)
| 73 | } |
| 74 | |
| 75 | function createCliDeps(cwd: string, homeDir: string, files: Record<string, string>) { |
| 76 | const fs = new MemoryFs(files); |
| 77 | const locator = new ConfigLocator({ fs, homeDir }); |
| 78 | const profileStore = new ProfileStore({ fs, locator }); |
| 79 | const openapiLoader = new OpenapiLoader({ fs }); |
| 80 | return { cwd, profileStore, openapiLoader }; |
| 81 | } |
| 82 | |
| 83 | describe("cli", () => { |
| 84 | const homeDir = "/home/user"; |
no outgoing calls
no test coverage detected