提交 8f0973c6 编写于 作者: N Nick Uraltsev

Fixing failing test

上级 5176dfde
......@@ -6,12 +6,12 @@ describe('instance', function () {
afterEach(function () {
jasmine.Ajax.uninstall();
});
it('should have the same methods as default instance', function () {
var instance = axios.create();
for (var prop in axios) {
if (['Axios', 'create', 'all', 'spread'].indexOf(prop) > -1) {
if (['Axios', 'create', 'all', 'spread', 'default'].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.
先完成此消息的编辑!
想要评论请 注册