Mocha asynchronous Promise

suggest change
describe('Suite Name', function() {
  describe('#method()', function() {
    it('should run without an error', function() {
      return doSomething().then(result => {
         expect(result).to.be.equal('hello world')
      })
    })
  })
})

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Unit testing frameworks:
* Mocha asynchronous Promise

Table Of Contents
1 npm
41 cli
43 grunt
59 Hack
63 Unit testing frameworks
64 ES6
67 Redis
69 MongoDB
86 MongoDB
87 Lodash
91 CORS
105 N-API
108 Require