Skip to content

Commit 621277d

Browse files
committed
test: resolve partial-display workspace on the host platform
1 parent 4c60861 commit 621277d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/core/tools/__tests__/readFileTool.spec.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@ describe("ReadFileTool", () => {
10451045
"should preserve partial display for %s",
10461046
async (filePath) => {
10471047
const mockTask = createMockTask()
1048+
mockTask.cwd = path.resolve(mockTask.cwd)
10481049
mockTask.ask.mockResolvedValue({ response: "yesButtonClicked", text: undefined, images: undefined })
10491050

10501051
const block = {

0 commit comments

Comments
 (0)