jasmine.async
jasmine.async copied to clipboard
Make Jasmine's asynchronous testing suck less.
could use this one: https://mochajs.org/
A simple change to allow timeout parameter to be passed to feature implemented in: https://github.com/mhevery/jasmine-node/pull/142 Please do let me know if there's any feedback. Thanks for this great snippet that...
Hi, I'm using Jasmine which is based on Protractor. Could you please provide some instructions how to use the async package with described env. currently I'm getting ReferenceError: AsyncSpec is...
Proxied the xit function to make it easier to skip async specs.
This change preserves the execution context in functions passed to async.beforeEach etc. so that the following code works: ``` javascript describe("something", function () { var async = new Async(this); async.beforeEach(function...
Especially when writing coffeescript tests it is common to use `this` for variables in scope A very minor change to allow this style ``` describe "a feature", -> async.beforeEach ->...
This definition file allows the use of this with TypeScript. For example: ``` typescript var async: asyncjasmine.AsyncSpec = new AsyncSpec(this); async.beforeEach((done) => { //do stuff done(); }); async.it('is awesome', (done)...
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...