javascript - Mocha and Asynchronous code -



javascript - Mocha and Asynchronous code -

would next code in mocha executed synchronously or asynchronously? aim launch these queries concurrently without having wait 1 query finish other executed.

describe('test', function(){ it('1st', function (done) { console.log('1'); done(); }); it('2nd', function (done) { console.log('2'); done(); }); it('3rd', function (done) { console.log('3'); done(); }); });

thanks!

javascript node.js asynchronous mocha synchronous

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -