Closed ngogia20 closed 6 years ago
In README.md client sample has
it('should ok get(url)', function* () { var url = 'https://dm-81.data.aliyun.com/rest/160601/ip/getIpInfo.json?ip=210.75.225.254'; var result = yield client.get(url); });
Issue raised and concern here - By Nikesh Gogia
It's a demo of unit tests that run with mocha. You can just use the generator block.
mocha
The document was updated.
In README.md client sample has
it('should ok get(url)', function* () { var url = 'https://dm-81.data.aliyun.com/rest/160601/ip/getIpInfo.json?ip=210.75.225.254'; var result = yield client.get(url); });
Issue raised and concern here - By Nikesh Gogia