提交 1725e080 编写于 作者: M Matt Zabriskie

Fixing broken test

上级 61617543
......@@ -11,7 +11,7 @@ describe('instance', function () {
var instance = axios.create();
for (var prop in axios) {
if (['Axios', 'create', 'all', 'spread'].includes(prop)) {
if (['Axios', 'create', 'all', 'spread'].indexOf(prop) > -1) {
continue;
}
expect(typeof instance[prop]).toBe(typeof axios[prop]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册