chore: fix test

This commit is contained in:
Bill Church 2024-11-21 16:12:36 +00:00
parent 52a989bbb2
commit 54a7ef1af7
No known key found for this signature in database

View file

@ -74,7 +74,7 @@ describe("SSHConnection", () => {
return sshConnection.connect(mockCreds).catch(error => { return sshConnection.connect(mockCreds).catch(error => {
expect(error).toBeInstanceOf(SSHConnectionError) expect(error).toBeInstanceOf(SSHConnectionError)
expect(error.message).toBe("SSH Connection error: Connection failed") expect(error.message).toBe("Connection failed")
}) })
}) })
}) })