jasmine-node
jasmine-node copied to clipboard
Timeouts for beforeEach and afterEach
This seems not be be working any more in jasmine-node 1.14.3 Seems to be the same issue as #240.
I have the followig code and the exact same issue as above.
describe("updater", function () { beforeEach(function(done){ console.log("We are going too build two apps");
setTimeout(function(){
console.log("juhu");
done();
}, 100);
}, 10);
it("should download and update", function () { var u = new Updater(); expect(false).toBe(false); }, 10);
}); Instead of failing with an timeout error the test runs thru.
We are going too build two apps juhu .
Finished in 0.106 seconds 1 test, 1 assertion, 0 failures, 0 skipped Any idea what I'm doing wrong here?
Best, Gerwin
Does anybody have the same issue?