()
| 17 | const opaqueProvider = {} as unknown as SQLiteWorkspaceProvider; |
| 18 | |
| 19 | function stubFs(): IsomorphicGitFSClient { |
| 20 | return { |
| 21 | promises: { |
| 22 | readFile: vi.fn(async () => new Uint8Array()), |
| 23 | }, |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | describe("createGitClient", () => { |
| 28 | it("calls ws.provider() lazily on first use, then caches the FsClient", async () => { |