mxriverlynn / jasmine.async Goto Github PK
View Code? Open in Web Editor NEWMake Jasmine's asynchronous testing suck less.
Make Jasmine's asynchronous testing suck less.
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 not defined
Thanks
It would be cool if this was a NuGet package (with a dependency on the Jasmine package)
Any chance of that happening?
The Async wrapper does not invoke the block function with the same context supplied to it, thereby making Specs using Async.it no longer have the same context.
In Mocha, we can pass an error into the done() callback to fail the test. This is useful when you're working with a promise-based API that uses .then(onSuccess, onFailure)
, because you can simply call done(error)
in the onFailure call.
Is there a simple way to accomplish this behavior with jasmine.async? Would you consider a pull request that adds that functionality?
It appears that the latest version of Jasmine allows a callback function to be passed to beforeEach, it and afterEach which makes this module no longer necessary.
Perhaps the change in Jasmine was inspired by this, so thank you very much for creating it!
Please add this to Bower for easier integration into projects.
could use this one: https://mochajs.org/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.