jasmine-node icon indicating copy to clipboard operation
jasmine-node copied to clipboard

Timeouts for beforeEach and afterEach

Open gerwinbrunner opened this issue 11 years ago • 1 comments

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

gerwinbrunner avatar Aug 14 '14 15:08 gerwinbrunner

Does anybody have the same issue?

gerwinbrunner avatar Aug 25 '14 18:08 gerwinbrunner