jasmine.async
jasmine.async copied to clipboard
Fix for thrown errors never invoking complete
In default Jasmine, when an error is thrown within a it() the tests will continue forward. If an error occurs within the block function provided, then the complete function is never invoked and thus the tests will not move forward until the timeout is triggered (default: 2000). Let me know if you guys need a sample. This solved our issues with several hundred tests taking "forever" on failures.
I ran into the same issue. Please merge this pull request :)
block.call(this,complete);
fixes the problem.
+1