Mocha Asynchronous asyncawait

suggest change
const { expect } = require('chai')

describe('Suite Name', function() {
  describe('#method()', function() {
    it('should run without an error', async function() {
      const result = await answerToTheUltimateQuestion()
      expect(result).to.be.equal(42)
    })
  })
})

Feedback about page:

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


Unit testing frameworks:
* Mocha Asynchronous asyncawait

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