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
Post a Comment