4 ms·
So I get that I can do the following with Spectacular itsInstance 'length', -> should equal 0 Instead of what I can currently do with Mocha+Chai.js item.
by paldepind2 13y ago
So I get that I can do the following with Spectacular
itsInstance 'length', -> should equal 0
Instead of what I can currently do with Mocha+Chai.js
item.length.should.equal 0
But besides the different syntax (which doesn't matter to me) what does this framework offer me that Mocha+Chai.js doesn't?
Btw. the above is an honest genuine question. I'm not questioning that the framework has something to offer I just can't figure out what it is from reading the website (the DOM features doesn't mean anything to me since I'm currently writing tests for a library).
- abe33 13y agoI'm not really familiar with mocha but you can find a quick comparison with jasmine in my answer here : https://news.ycombinator.com/item?id=6057056 https://news.ycombinator.com/item?id=6057056