chore: fix test
This commit is contained in:
parent
52a989bbb2
commit
54a7ef1af7
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue