我参加了一个现有的测试:
it('should have a controller instance', co.wrap(function *() {
stateController.should.be.a('object');
}));
并尝试在生成器函数上使用箭头语法,但运行时抱怨
it('should have a controller instance', co.wrap(*() => {
stateController.should.be.a('object');
}));