add some tests

This commit is contained in:
2016-06-01 02:48:38 +02:00
parent 9a96bbd266
commit 904129706c
5 changed files with 50 additions and 4 deletions

View File

@ -31,6 +31,11 @@ export class SshInstance {
return undefined;
}
};
getKeys(){
return this.sshKeys;
}
removeKey(sshKeyArg:SshKey){
let keyIndex = helpers.getKeyIndex(sshKeyArg.host);
this.sshKeys.splice(keyIndex,1);