Skip to content

Commit 8be45ef

Browse files
committed
Fix SSH runtime config in test (use identityFile and host format)
1 parent fa234fc commit 8be45ef

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/ipcMain/createWorkspace.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,11 +758,10 @@ echo "Init hook executed with tilde path"
758758

759759
const runtimeConfig: RuntimeConfig = {
760760
type: "ssh",
761-
host: "localhost",
762-
port: sshConfig.port,
763-
username: sshConfig.username,
764-
privateKeyPath: sshConfig.privateKeyPath,
761+
host: "testuser@localhost",
765762
srcBaseDir: "~/workspace",
763+
identityFile: sshConfig.privateKeyPath,
764+
port: sshConfig.port,
766765
};
767766

768767
const { result, cleanup } = await createWorkspaceWithCleanup(

0 commit comments

Comments
 (0)