test: port instance HttpApi path/vcs read coverage to Effect

This commit is contained in:
Kit Langton 2026-04-30 11:07:00 -04:00 committed by GitHub
commit dddfcbf0d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 717 additions and 221 deletions

View file

@ -404,7 +404,7 @@ describe("HttpApi SDK", () => {
lsp,
}),
project: { worktreeSelected: record(project.data).worktree === directory },
paths: { cwdSelected: record(paths.data).cwd === directory },
paths: { directorySelected: record(paths.data).directory === directory },
file: record(file.data).content,
hasProject: array(projects.data).length > 0,
foundFile: JSON.stringify(findFiles.data).includes("hello.txt"),