now has possibility to end streaming requests

This commit is contained in:
2016-07-31 21:05:41 +02:00
parent 56612f9ac9
commit 6a8751afd2
10 changed files with 143 additions and 93 deletions

View File

@ -30,7 +30,15 @@ describe("dockersock",function(){
testDockersock.pullImage("hosttoday/ht-docker-dbase")
.then((dataArg)=>{
done();
},done);
});
});
it("should return a change Objservable",function(done){
this.timeout(10000);
testDockersock.getChangeObservable();
setTimeout(() => {
testDockersock.endRequests();
done();
},5000);
})
});
});