2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

Fixing failing test

This commit is contained in:
Nick Uraltsev
2016-08-09 23:23:08 -07:00
parent 5176dfdec5
commit 8f0973c6b9
+2 -2
View File
@@ -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]);