I prepared a simple test code:
fs = require("fs-extra");
console.log("console log output");
fs.walk(__dirname)
.on("data", function (item) {
console.log (item.path);
})
The problem is that the stream is not called, when that files is executed over the jasmine runner in node.js. When I call that file directly over node.js everything works, but with jasmine just the first console.log is called.
My version of jasmine is 2.3.2
I allready tried beforeAll and beforeEach, because it is an async call, but that also gives no output.
So I ask myself:
Are streams not supported? If they are supported, how do I test streams?