some updates

This commit is contained in:
2016-06-26 04:07:03 +02:00
parent ef2b31b4b2
commit 38165f11db
7 changed files with 18 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
import "typings-test"
import "should";
import smartssh = require("../dist/index");
import path = require("path");
describe("smartssh",function(){
let testSshInstance:smartssh.SshInstance;
let testSshKey:smartssh.SshKey;
@ -24,6 +25,9 @@ describe("smartssh",function(){
});
it(".publicKeyBase64 should be public key base 64 encoded",function(){
testSshKey.pubKeyBase64;
});
it(".store() should store the file to disk",function(){
testSshKey.store(path.join(process.cwd(),"test/temp"));
})
});
describe(".SshInstance",function(){