Skip to content

Commit ff3f401

Browse files
committed
Fix merge conflict: update new test to use consolidated helpers
1 parent 4481ea6 commit ff3f401

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/ipcMain/runtimeFileEditing.test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,12 @@ describeIntegration("Runtime File Editing Tools", () => {
382382
// Create workspace
383383
const branchName = generateBranchName("relative-path-test");
384384
const runtimeConfig = getRuntimeConfig(branchName);
385-
const { workspaceId, cleanup } = await createWorkspaceHelper(
385+
const { workspaceId, cleanup } = await createWorkspaceWithInit(
386386
env,
387387
tempGitRepo,
388388
branchName,
389389
runtimeConfig,
390+
true,
390391
type === "ssh"
391392
);
392393

@@ -400,6 +401,8 @@ describeIntegration("Runtime File Editing Tools", () => {
400401
env,
401402
workspaceId,
402403
`Create a file at path "${relativeTestFile}" with content: "Original content"`,
404+
HAIKU_MODEL,
405+
FILE_TOOLS_ONLY,
403406
streamTimeout
404407
);
405408

@@ -415,6 +418,8 @@ describeIntegration("Runtime File Editing Tools", () => {
415418
env,
416419
workspaceId,
417420
`Replace the text in ${relativeTestFile}: change "Original" to "Modified"`,
421+
HAIKU_MODEL,
422+
FILE_TOOLS_ONLY,
418423
streamTimeout
419424
);
420425

@@ -437,6 +442,8 @@ describeIntegration("Runtime File Editing Tools", () => {
437442
env,
438443
workspaceId,
439444
`Read the file ${relativeTestFile} and tell me its content`,
445+
HAIKU_MODEL,
446+
FILE_TOOLS_ONLY,
440447
streamTimeout
441448
);
442449

0 commit comments

Comments
 (0)