摩卡异步(Promise)
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')
})
})
})
})