now waiting for response to be stored before ending streaming request

This commit is contained in:
2016-07-31 23:07:09 +02:00
parent 28fa5349d7
commit 489a47b9bf
5 changed files with 21 additions and 20 deletions

View File

@ -35,10 +35,8 @@ describe("dockersock", function () {
it("should return a change Objservable", function (done) {
this.timeout(10000);
testDockersock.getChangeObservable();
setTimeout(() => {
testDockersock.endRequests();
done();
}, 5000);
testDockersock.endRequests();
done();
})
});
});